Bug 259987

Summary: KMail told to accept self-signed certificates forever but keep asking for them at each startup
Product: [Unmaintained] kmail Reporter: Alain Perrot <alain.perrot>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: e8hffff
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alain Perrot 2010-12-15 19:22:17 UTC
Version:           1.13.5 (using KDE 4.5.85) 
OS:                Linux

I have a mail server on my LAN running Dovecot IMAP with TLS and self-signed certificates.

I told KMail to accept these certificates forever, but it keeps asking me to check them each time it is started. This is really annoying as I have ~ 10 accounts on this mail server (most of them dedicated to a mailing list).

Reproducible: Always

Steps to Reproduce:
1. Configure an account that use a self-signed certificate.
2. On first connection, tell KMail to accept the certificate forever.
3. Exit KMail.
4. Start KMail again.

Actual Results:  
KMail will complain about the self-signed certificate again.

Expected Results:  
KMail should not complain about the previously accepted self-signed certificate.

I am running Kubuntu 11.04 "Natty" AMD64 with KDE 4.5.85 (4.6 Beta2) and KMail 1.13.5.

There wasn't such an issue when I was running Kubuntu 10.10 "Maverick" AMD64 with KDE 4.5.1 with whatever version of KMail was packaged there.
Comment 1 e8hffff 2011-01-13 13:43:06 UTC
CONFIRMED

Same problem.  Tried reinstalling Kubuntu to see if I could fix it but to no success. The error is 'The server failed the authenticity check (localhost)'.

I'm using a localhost based sendmail and dovecot pop3 server. all has worked in past.

The error pops up ever email check! Very annoying.
Comment 2 Thomas McGuire 2011-01-13 13:46:39 UTC
Maybe related to bug 261205.
Comment 3 Christophe Marin 2011-01-30 13:09:44 UTC

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