Bug 34010 - Kmail doesn't remember my password
Summary: Kmail doesn't remember my password
Status: CLOSED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.3.1
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-22 21:03 UTC by bmorris3
Modified: 2007-09-14 12:17 UTC (History)
0 users

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 bmorris3 2001-10-22 21:00:54 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.3.1 (using KDE 2.2.1 )
Severity:          normal
Installed from:    Mandrake Linux Vitamin
Compiler:          gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.62mdk)
OS:                Linux (i686) release 2.4.8-26mdk
OS/Compiler notes: 

I have two pop accounts that Kedit checks for email.  I have it selected in the prefrences to remember the password in the config file yet everytime I first start kmail it asks me for the password for the FIRST pop account.  It remembers the password for the other pop account.

Kmail will remember the password for the rest of the session of course.  But restarting it... it will request that first account's password again (and yes it's there in the prefs.)

kbi

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Michael H 2001-10-23 09:07:57 UTC
On Monday 22 October 2001 23:00 bmorris3@san.rr.com wrote:
>
> I have two pop accounts that Kedit checks for email.  I have it selected in
> the prefrences to remember the password in the config file yet everytime I
> first start kmail it asks me for the password for the FIRST pop account. 
> It remembers the password for the other pop account.
>
> Kmail will remember the password for the rest of the session of course. 
> But restarting it... it will request that first account's password again
> (and yes it's there in the prefs.)

Are you aware of the fact that it is configurabe for every account 
seperately to store the password in the config file?

Regards
Michael Häckel
Comment 2 bmorris3 2001-10-23 09:25:12 UTC
On Tuesday 23 October 2001 02:07 you wrote:
> On Monday 22 October 2001 23:00 bmorris3@san.rr.com wrote:
> > I have two pop accounts that Kedit checks for email.  I have it selected
> > in the prefrences to remember the password in the config file yet
> > everytime I first start kmail it asks me for the password for the FIRST
> > pop account. It remembers the password for the other pop account.
> >
> > Kmail will remember the password for the rest of the session of course.
> > But restarting it... it will request that first account's password again
> > (and yes it's there in the prefs.)
>
> Are you aware of the fact that it is configurabe for every account
> seperately to store the password in the config file?

Yes I am and yes both accounts have that option checked.

> Regards
> Michael Häckel

kbi
Comment 3 Michael H 2001-10-23 10:42:59 UTC
On Tuesday 23 October 2001 11:25 kbi wrote:
>
> Yes I am and yes both accounts have that option checked.

Do you possibly have no write access to ~/.kde/share/config/kmailrc for 
example because you ran KMail once as root?

Regards
Michael Häckel
Comment 4 bmorris3 2001-10-23 18:40:12 UTC
On Tuesday 23 October 2001 03:42 you wrote:
> On Tuesday 23 October 2001 11:25 kbi wrote:
> > Yes I am and yes both accounts have that option checked.
>
> Do you possibly have no write access to ~/.kde/share/config/kmailrc for
> example because you ran KMail once as root?

That wasn't it but I figured out more looking at kmailrc.  When I first ran Kmail after installing md8.1 and was setting up the accounts I got stuck with a no-name first account (i think it was there before maybe from the installation wizard where you select kmail as your main email program and it asks some info for it).  I was unable to remove that account (it would say Cannot find account) so I thought it was suposed to be there and added my accounts after it. But in keditrc I saw:

[Account 1]
Folder=inbox
Name=
Type=pop
auth=AUTO
check-exclude=false
check-interval=0
host=pop-server
leave-on-server=false
login=bmorris3
passwd=
port=110
precommand=
protocol=0
store-passwd=false
use-ssl=false
use-tls=false

This is the account that was not saving the password (notice the account is incomplete too no name etc). I removed this from keditrc and re-ran kedit and... problem fixed.

Thanks for your help
kbi
Comment 5 Michael H 2001-10-23 19:40:34 UTC
On Tuesday 23 October 2001 20:40 kbi wrote:
>
> That wasn't it but I figured out more looking at kmailrc.  When I first
> ran Kmail after installing md8.1 and was setting up the accounts I got
> stuck with a no-name first account (i think it was there before maybe from
> the installation wizard where you select kmail as your main email program
> and it asks some info for it).  I was unable to remove that account (it
> would say Cannot find account) so I thought it was suposed to be there
> and added my accounts after it. But in keditrc I saw:

Actually it should not be possible in KMail 1.3.1 to create an account without 
name. However in earlier versions that was possible. Did you upgrade or make 
a new installation?
Just curious: Of what setup wizard are you talking? Is there a setup wizard 
from Mandrake where you can configure KMail? I don't run Mandrake though.

Regards
Michael Häckel
Comment 6 bmorris3 2001-10-23 22:41:18 UTC
On Tuesday 23 October 2001 12:40 you wrote:
> On Tuesday 23 October 2001 20:40 kbi wrote:
> > That wasn't it but I figured out more looking at kmailrc.  When I first
> > ran Kmail after installing md8.1 and was setting up the accounts I got
> > stuck with a no-name first account (i think it was there before maybe
> > from the installation wizard where you select kmail as your main email
> > program and it asks some info for it).  I was unable to remove that
> > account (it would say Cannot find account) so I thought it was suposed
> > to be there and added my accounts after it. But in keditrc I saw:
>
> Actually it should not be possible in KMail 1.3.1 to create an account
> without name. However in earlier versions that was possible. Did you
> upgrade or make a new installation?

I did a new installation while keeping perevious linux user accounts.  When I installed I deleted .kde to get fresh prefs.

> Just curious: Of what setup wizard are you talking? Is there a setup wizard
> from Mandrake where you can configure KMail? I don't run Mandrake though.

Mandrake 8.1 has this new feature where a configuration wizard runs for an account at first login.  If memory serves part of it tried to get me to register mandrake and it asked for me to select my prefered mail program (kedit) and supply my smtp server so it could send the info.  This might be where the no-named account was created?

> Regards
> Michael Häckel

kbi
Comment 7 Michael H 2001-10-24 19:32:28 UTC
On Wednesday 24 October 2001 00:41 kbi wrote:
>
> Mandrake 8.1 has this new feature where a configuration wizard runs for an
> account at first login.  If memory serves part of it tried to get me to
> register mandrake and it asked for me to select my prefered mail program
> (kedit) and supply my smtp server so it could send the info.  This might be
> where the no-named account was created?

I don't know if you also entered a pop3 server. Well you can try it again 
with a new user and eventually report it to Mandrake then.
At least I think this issue can be closed since I don't believe that 
creating nameless accounts is possible with KMail 1.3.1.

Regards
Michael Haeckel