Bug 264275

Summary: The "Remember this certificate" option for the Sieve SSL doesn't remember
Product: [Applications] kmail2 Reporter: Thiago Macieira <thiago>
Component: sieveAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 2.0.89   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thiago Macieira 2011-01-25 18:32:52 UTC
Version:           2.0.89
OS:                Linux

When it starts up, KMail connects to the Sieve server (why?). If the Sieve server has SSL/TLS enabled, KMail will start the TLS handshake.

If the server presents a certificate with failures, such as a self-signed certificate, KMail will show a dialog asking whether to proceed and to save the certificate.

Reproducible: Always

Steps to Reproduce:
1. Configure KMail with an IMAP account with filtering enabled
2. Ensure that the Sieve server supports STARTTLS
3. Ensure that the Sieve server presents an SSL certificate that contains at least one problem
4. Start KMail
5. Click Continue when asked how to proceed
6. Click Forever when asked when to accept this certificate
7. Close KMail
8. Start KMail again

Actual Results:  
The same dialogs of steps 5 and 6 are presented. The certificate was not saved.

Expected Results:  
The certificate is stored and trusted forever, so the Sieve TLS connection should not fail and no dialogs should be shown at startup.

OS: Linux (i686) release 2.6.36.2-server-1mnb
Compiler: gcc
Comment 1 Christophe Marin 2011-01-30 13:09:22 UTC

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