Bug 167900 - Passwords with '!' in them don't work correctly
Summary: Passwords with '!' in them don't work correctly
Status: RESOLVED DUPLICATE of bug 144814
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.10.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 177410 191856 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-31 22:05 UTC by Dave Brain
Modified: 2009-06-26 12:50 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Brain 2008-07-31 22:05:15 UTC
Version:           1.10.0 (using 4.1.00 (KDE 4.1.0), Arch Linux)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25

As above. If you are connecting to a pop3 or imap server and your account password starts with a ! kmail will fail to authenticate.

Once it fails to authenticate and you manually type in the password you can connect to the server. Storing the password in teh config file and restarting kmail, the authentication problem shows its self again.
Comment 1 Thomas McGuire 2008-12-11 18:24:11 UTC
*** Bug 177410 has been marked as a duplicate of this bug. ***
Comment 2 Florian Beier 2008-12-11 18:48:24 UTC
As Bug 177410 was marked as duplicat, let me add some comments:

1) The password doens't have to start with a "!". At least a "!" at the end triggers the problem as well
2) I don't have problems with imap or pop3! Only smtp seems to be affected, as confirmed in comment 1 in bug 177410

Comment 3 Dennis 2009-01-05 14:55:45 UTC
In kmail 1.10.3 (using KDE 4.1.3) an exclamation mark (!) doesn't work in pop3 or in smtp password field. I remember that this problem already existed in a former version of kmail...is anyone working on this issue?

Thanks for your great work. If you need anything else, just write me an email.
Comment 4 Dan Beeler 2009-02-09 09:02:35 UTC
I also have this problem for smtp (! at the end of password). Pop3 works fine. If disable a saved password and type it manually, it works fine. Of course, who wants to do that for each sent email? It seems that Sven also has the same problem: http://forums.opensuse.org/applications/399076-kmail-does-not-store-smtp-passwords-correctly.html.
Comment 5 Jaime Torres 2009-04-03 16:48:11 UTC
It works for me in kde 4.2.68, even with two !! in the password, for smtp and pop3.
Comment 6 Dennis 2009-04-03 20:32:30 UTC
@JAIME: 4.2.68? I am running 4.2.2 from Factory Rep - is your's SVN or something? Thx, Dennis
Comment 7 Jaime Torres 2009-04-03 20:40:09 UTC
More or less, KDE: Factory. (the standard is without :)
Comment 8 Dario Andres 2009-04-05 15:28:54 UTC
Here using:

Qt: 4.5.0 + qt-copy-patches-936035
KDE: 4.2.68 (KDE 4.2.68 (KDE 4.3 >= 20090327))
kdelibs svn rev. 949044
kdepimlibs svn rev.949046
kmail svn rev. 949046
on ArchLinux i686 - Kernel 2.6.28.8

I can't reproduce this neither when using "!!" on the start/end of the password for both SMTP/IMAP. Even after saving the password on the Wallet and reloading KMail.
Marking as WORKSFORME

Thanks
Comment 9 Jaime Torres 2009-06-15 18:49:05 UTC
*** Bug 191856 has been marked as a duplicate of this bug. ***
Comment 10 Martin Fischer 2009-06-24 10:42:10 UTC
i have the same problem with a '!' in imap passwords with kubuntu jaunty. the
same for opensuse 11.1.

i do not use (and would like it not) k-wallet. at the end of kmail (or contact)
i am asked whether the password in the configuration file should be saved,
which i acknowledge.

the next time you start kmail (or kontact) an error message appears, that the
password is incorrect. i set the password in this dialog again and the password
remains valid until the end.
Comment 11 Allen Winter 2009-06-24 16:55:14 UTC
I'm pretty sure this is a 3.5 -> 4.x migration bug.

Unfortunately, this is something we can't fix in the KMail code.  The 3.5 KMail versions are broken when it comes to saving passwords containing a '!' (and some other special chars).

When migrating to the 4.x versions of KMail, I recommend going into the settings and changing your account password to a temporary that doesn't contain the '!'.  Then go back into the settings and change the account password back to the one containing the '!'.

This should work.. if not, then try removing the account entirely and then re-create using the '!' password.

Would some kind person feel like putting this hint on the KMail UserBase page?
Comment 12 Martin Fischer 2009-06-25 16:02:16 UTC
hiya allen,

both of this does not work.

first i changed my password to a password that doesn't contain the '!' and save it. then i changed back to the original password with the '!'. -> same error as i described before.

after this try, i delete the account and re-create a new account with the '!' in the account password. -> same error as i described before.

:-(

regards martin
Comment 13 Thomas McGuire 2009-06-26 12:18:47 UTC

*** This bug has been marked as a duplicate of bug 144814 ***
Comment 14 Martin Fischer 2009-06-26 12:50:58 UTC
hiya thomas,

(In reply to comment #13)
> 
> *** This bug has been marked as a duplicate of bug 144814 ***

maybe this is a duplicate, but this error isn't fixed! i've done a fresh install of ubuntu 9.04 (jaunty) and opensuse 11.1. both of this use kde 4.2.x and on both systems it doesn't work. so it is not a solution, to set this bug only as a "duplicate" or "work for me", cause "work not for me" and some others.