Plaintext authentication when using SSL/TLS encryption
Hello,
I am using Thunderbird as mail client and Dovecot as IMAP Server. I have the following settings in Thunderbird:
50299
When Thunderbird connects to dovecot IMAP Server i have the following line in /var/log/maillog:
What concerns me is the method=PLAIN message in the log file entry. Is it safe to assume that the password is transfered encrypted from the client to the server as the whole connection is encrypted? Do i miss something?
Jan 18 00:28:56 server dovecot: imap-login: Login: user=, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx, mpid=14654, TLS, session=<0PtxXwBjkM0uZ+lu>
What concerns me is the method=PLAIN message in the log file entry. Is it safe to assume that the password is transfered encrypted from the client to the server as the whole connection is encrypted? Do i miss something?
-
Hello, Dovecot documents the PLAIN method at: Authentication - Dovecot Wiki Note you can set the following option to "No" in "WHM Home " Service Configuration " Mailserver Configuration": Allow Plaintext Authentication (from remote clients) Per it's description: This setting will allow remote email clients to authenticate using unencrypted connections. When set to "no", only connections originating on the local server will be allowed to authenticate without encryption. Selecting "no" is preferable to disabling IMAP in the Protocols Enabled section since it will force remote users to use encryption while still allowing webmail to function correctly. Check to see if Thunderbird still works properly after setting this option to "No". Thank you. 0 -
Hello, Thanks for the reply. What i really need to know is this: Is my password encrypted when i use SSL/TLS Option in Thunderbird? Regardless of how Dovecot is configured. 0 -
Is my password encrypted when i use SSL/TLS Option in Thunderbird? Regardless of how Dovecot is configured.
Yes, as long as you are configuring it to use the TLS/SSL ports and SSL/TLS is selected (as indicated in your screenshot), the authentication details are encrypted during the transmission. The following Dovecot document explains this further: Authentication/Mechanisms - Dovecot Wiki Thank you.0 -
Thanks for clearing this out. 0
Please sign in to leave a comment.
Comments
4 comments