Bug 207050

Summary: accept certificate forever without being prompted
Product: [Unmaintained] kmail Reporter: Peer Frank <peer.frank>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cart, kfunk, mark.vanrossum, shlomif, sklokocka
Priority: NOR    
Version: 1.12.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peer Frank 2009-09-11 10:24:08 UTC
Version:           1.12.1 (using 4.3.1 (KDE 4.3.1) "release 163", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.29-0.1-pae

kmail does not remember anymore when mail server fails authenticity check and one accepts the certificate forever without being prompted
Comment 1 Peer Frank 2009-11-16 16:00:10 UTC
bug still there in version 1.12.3 (KDE3.3.3). 
Each time I send mail via this mail server I am prompted to accept this certificate. In spite of selecting "forever" I'm prompted again after kmail fetches mail the next time. I select again "forever". Then no more "Server Authentication" prompts in spite of mail checking on this server until I send the next message. Looks like sending a message deletes the "accept certificate forever" flag.
Comment 2 Mark van Rossum 2010-01-01 17:56:45 UTC
I also see this. (fedora 12 with kmail 1.12.4)
A very annoying regression!
Comment 3 Mark van Rossum 2010-01-01 20:54:19 UTC
Hey

It seems fixed after a restart after updating to

kdepim-4.3.4-2.fc12.i686
kdelibs-4.3.4-3.fc12.i686
Comment 4 Kevin Funk 2010-01-09 11:27:44 UTC
Not fixed for me using this setup:
Qt: 4.6.0
KDE Development Platform: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
KMail: 1.13.0
Comment 5 Peer Frank 2010-02-15 14:01:46 UTC
KMail Version 1.13.0 on KDE 4.4.0 "release 223"
still have that bug
Comment 6 Björn Ruberg 2010-03-15 00:19:44 UTC
*** Bug 209627 has been marked as a duplicate of this bug. ***
Comment 7 Shlomi Fish 2010-03-17 18:26:56 UTC
I've now ran into this bug after a long period when everything was OK.  I'm running KMail on a P4-2.4GHZ / Mandriva Linux Cooker / XFCE / Compiz-Fusion. I have:

<<<
Version 1.13.1
Using KDE Development Platform 4.4.1 (KDE 4.4.1)
>>>

Regards,

-- Shlomi Fish
Comment 8 Shlomi Fish 2010-03-17 18:53:58 UTC
(In reply to comment #7)
> I've now ran into this bug after a long period when everything was OK.  I'm
> running KMail on a P4-2.4GHZ / Mandriva Linux Cooker / XFCE / Compiz-Fusion. I
> have:
> 
> <<<
> Version 1.13.1
> Using KDE Development Platform 4.4.1 (KDE 4.4.1)
> >>>
> 
> Regards,
> 
> -- Shlomi Fish

I should note that it doesn't happen when running KMail on top of KDE4+Kwin. Everything seems perfectly fine there.

Regards,

-- Shlomi Fish
Comment 9 Peer Frank 2010-03-18 10:50:53 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > I've now ran into this bug after a long period when everything was OK.  I'm
> > running KMail on a P4-2.4GHZ / Mandriva Linux Cooker / XFCE / Compiz-Fusion. I
> > have:
> > 
> > <<<
> > Version 1.13.1
> > Using KDE Development Platform 4.4.1 (KDE 4.4.1)
> > >>>
> > 
> > Regards,
> > 
> > -- Shlomi Fish
> 
> I should note that it doesn't happen when running KMail on top of KDE4+Kwin.
> Everything seems perfectly fine there.
> 
> Regards,
> 
> -- Shlomi Fish

what do you mean with on top of KDE4+Kwin ?

I'm running kmail 1.13.1 on the latest and greatest KDE4.4.1 rel 227
and still have the problem when I enable Encryption: using TLS for secure mail download + plain Authentication Method
Comment 10 Shlomi Fish 2010-03-18 12:00:50 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #7)
> > > I've now ran into this bug after a long period when everything was OK.  I'm
> > > running KMail on a P4-2.4GHZ / Mandriva Linux Cooker / XFCE / Compiz-Fusion. I
> > > have:
> > > 
> > > <<<
> > > Version 1.13.1
> > > Using KDE Development Platform 4.4.1 (KDE 4.4.1)
> > > >>>
> > > 
> > > Regards,
> > > 
> > > -- Shlomi Fish
> > 
> > I should note that it doesn't happen when running KMail on top of KDE4+Kwin.
> > Everything seems perfectly fine there.
> > 
> > Regards,
> > 
> > -- Shlomi Fish
> 
> what do you mean with on top of KDE4+Kwin ?
> 

It means that when I run KMail on top of the standard KDE 4.4.1 desktop (not XFCE) using the KWin window manager, then it doesn't prompt me to whitelist the certificate, and everything works fine.

> I'm running kmail 1.13.1 on the latest and greatest KDE4.4.1 rel 227
> and still have the problem when I enable Encryption: using TLS for secure mail
> download + plain Authentication Method

OK.

Regards,

-- Shlomi Fish
Comment 11 Skippy 2010-07-03 11:27:12 UTC
Hello,

I have found that the first time after new installation of my system (and KDE), the option "accepts the certificate forever without being prompted" works fine. But when the certificate on the server change, then I start being prompted again and this option doesn't work at all. When I reinstall all system options works fine again, but only till the next change of the certificate. 

I assume that at the first time the certificate is stored somewhere and the I am not prompted again. But when the certificate changes, kmail is not able to overwrite the once saved certificate. 

I think that deleting those saved certificates can help. Do you know if I am right and where they are saved?
Comment 12 Christophe Marin 2011-01-30 13:10:39 UTC

*** This bug has been marked as a duplicate of bug 233628 ***