Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Plaintext authentication when using SSL/TLS encryption

Discussion in 'E-mail Discussions' started by vikelidiskostas, Jan 17, 2018.

  1. vikelidiskostas

    Joined:
    Sep 4, 2016
    Messages:
    16
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I am using Thunderbird as mail client and Dovecot as IMAP Server. I have the following settings in Thunderbird:

    thunderbird_settings.png

    When Thunderbird connects to dovecot IMAP Server i have the following line in /var/log/maillog:

    Code:
    Jan 18 00:28:56 server dovecot: imap-login: Login: user=<user@domain.tld>, 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?
     
    #1 vikelidiskostas, Jan 17, 2018
    Last edited: Jan 17, 2018
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,455
    Likes Received:
    1,608
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. vikelidiskostas

    Joined:
    Sep 4, 2016
    Messages:
    16
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,455
    Likes Received:
    1,608
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  5. vikelidiskostas

    Joined:
    Sep 4, 2016
    Messages:
    16
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks for clearing this out.
     
Loading...

Share This Page