Enable Plaintext authentication for email on WHM cPanel

How to enable Plaintext authentication for email on WHM/cPanel

Server returned error “[AUTH] Plaintext authentication disallowed on non-secure (SSL/TLS) connections”

By default cPanel dovecot mail server disable Plaintext authentication meaning that to connect to your mailserver you have to use SSL/TLS connection protocol , to allow Plaintext authentication immediately you have to login to your server using SSH puTTY software as root privilege account and edit dovecot.conf configuration file by running the following command

vi /etc/dovecot/dovecot.conf

and change the disable_plaintext_auth = yes to disable_plaintext_auth = no

then type :wq to save the changes , now you need to restart dovecot service

service dovecot restart

Please note that this is not presist changes , becuase each time the cPanel make an update it will overrides dovecot.conf to the default values; to avoid this you have to make this option as default in cPanel configuration by following:

  1. Navigate to Home >> Service Configuration >> Mailserver Configuration
  2. locate Allow Plaintext Authentication (from remote clients) “This setting will allow remote email clients to authenticate using unencrypted connections. When set to “no”” just set this option to Yes
  3. then Save Changes

and now you are safe to continue using this option even if the cPanel update process start.

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts