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!

Plaintext authentication when using SSL/TLS encryption

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

  1. vikelidiskostas

    Joined:
    Sep 4, 2016
    Messages:
    20
    Likes Received:
    3
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 vikelidiskostas, Jan 17, 2018
    Last edited: Jan 17, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. vikelidiskostas

    Joined:
    Sep 4, 2016
    Messages:
    20
    Likes Received:
    3
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. vikelidiskostas

    Joined:
    Sep 4, 2016
    Messages:
    20
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks for clearing this out.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice