Bug 291849 - 'TLS encryption was requested' message with unencryted plain authentication login settings
Summary: 'TLS encryption was requested' message with unencryted plain authentication l...
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 11:04 UTC by Pal Körössy
Modified: 2012-04-02 08:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.1


Attachments
screenshot (18.57 KB, image/png)
2012-01-25 15:30 UTC, Pal Körössy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pal Körössy 2012-01-18 11:04:36 UTC
Version:           unspecified (using KDE 4.7.4) 
OS:                Linux

A have a confgured and working IMAP account, the connection type is unencrypted/plain. The sieve server uses the same configuration.
If I activate 'Server support sieve' and 'Reuse host and login configuration'  in options in KMail's Setting/Accounts/Incoming/Filtering dialog, I always get the following notification on KMails startup:
'TLS encryption was requested but your Sieve server does not advertise TLS in its capabilities.You can choose to try to initiate TLS negotiations nonetheless, or cancel the operation. Start TLS nonetheless/Cancel'
I have never had that notification with the same settings on the same account with Kmail1.

Reproducible: Always

Steps to Reproduce:
Try to connect to a sieve server which needs plain,unencrypted login with unencrypted login settings using the login settings of an IMAP account. 

Actual Results:  
'TLS encryption was requested but your Sieve server does not advertise TLS in its capabilities.You can choose to try to initiate TLS negotiations nonetheless, or cancel the operation. Start TLS nonetheless/Cancel' notification on KMails startup.

Expected Results:  
Connect to the sieve server without any notification.
Comment 1 Laurent Montel 2012-01-18 14:22:21 UTC
It's just a notification or you can't access to sieve server ?
Comment 2 Pal Körössy 2012-01-20 19:57:25 UTC
Yes, I can access my sieve server, but: the point is that TLS is disabled in my IMAP account login configuration while the notification says 'TLS was requested'. It's nonsense. And it pops up every time I start KMail.
Comment 3 Laurent Montel 2012-01-21 10:31:08 UTC
Ok it's notifucation bug.
Will look at it soon.
Thanks for info.
Regards
Comment 4 Laurent Montel 2012-01-21 10:34:08 UTC
if you can give me a screenshot it's more easy to search problem.
Thanks
Comment 5 Pal Körössy 2012-01-25 15:30:43 UTC
Created attachment 68164 [details]
screenshot
Comment 6 Laurent Montel 2012-01-25 16:57:47 UTC
Ok This messagebox is normal. I can't remove it but I can add a checkbox to disable this dialog for specific account. So you will see it once and if you click on button it will never see after for this account.
Comment 7 Pal Körössy 2012-01-30 15:57:31 UTC
Checkbox can be a solution but why to notify the user who hasn't enabled any encryption in its login settings?
In my opinion this message box pops up in the wrong place. It should only be pop up if a client configured to use TLS connects to a server that hasn't TLS.
In my case there is no TLS configured neither on the client- nor on the server side.
Comment 8 Laurent Montel 2012-02-22 07:59:44 UTC
Git commit c5d79f5c4ebb5b2fa12748a2bf87b35843c9c813 by Montel Laurent.
Committed on 22/02/2012 at 08:58.
Pushed by mlaurent into branch 'master'.

Fix Bug 291849 - 'TLS encryption was requested' message with unencryted plain authentication login settings

Don't ask all the time if we want to start tls encryption when server can use sieve without it
FIXED-IN: 4.8.1

M  +2    -2    libksieve/kmanagesieve/session.cpp

http://commits.kde.org/kdepim/c5d79f5c4ebb5b2fa12748a2bf87b35843c9c813
Comment 9 Laurent Montel 2012-02-22 08:00:26 UTC
Git commit fd41563a5863855ccfbe33297a1f3e74d12479b9 by Montel Laurent.
Committed on 22/02/2012 at 08:58.
Pushed by mlaurent into branch 'KDE/4.8'.

Fix Bug 291849 - 'TLS encryption was requested' message with unencryted plain authentication login settings

Don't ask all the time if we want to start tls encryption when server can use sieve without it
FIXED-IN: 4.8.1
(cherry picked from commit c5d79f5c4ebb5b2fa12748a2bf87b35843c9c813)

M  +2    -2    libksieve/kmanagesieve/session.cpp

http://commits.kde.org/kdepim/fd41563a5863855ccfbe33297a1f3e74d12479b9
Comment 10 Pal Körössy 2012-04-02 08:38:30 UTC
Well, notification is not bugging me anymore but sending and downloading mails has been very slow since I've activated the checkbox. I'm not sure this is related to the original problem but I don't know how to go back to the original state.
On the other hand I still don't understand why to start TLS on the client side (and notify about it) if I have NO TLS configured neither on the client nor the server-side?
Is there a way to solve this by setting aside using TLS if it's not configured on the client side?