How to Enable Plaintext Authentication in Dovecot?

Dovecot is an Open source IMAP or POP3 server used to create light-weight and high-performance Mailserver on Linux/Unix systems. Main Work of Doevecat is to handle the emails on the server. When we install Dovecot on Linux, Plain text Authentication will be disabled by default so we will need to use SSL/TLS encryption while sending/receiving email. We will need to make a few changes in the configuration file to allow PlaintText authentication in Dovecot.

Important Note: It is not recommended to allow Plain text authentication because data will be transmitted without encryption. If you have installed cPanel, these settings will be overridden to default on every cPanel update. Hence, it is suggested to update the Plain Text Authentication from WHM.

 

Enable Plaintext Authentication in Dovecot from SSH (Secure Shell) :

 

  1. Go to Directory /etc/dovecot/ and edit file dovecot.conf in Nano text editor.

    # nano /etc/dovecot/dovecot.conf
  2. Go to the line disable_plaintext_auth and as we mentioned above default value will be No

  3. Modify the value from no to yes. Once you do that it will display as below.



    disable_plaintext_auth = yes
    
  4. Save the file in the nano editor with Ctr+x and Y Button. If you use VI editor you can save the file with wq command.

  5. Hit below command to restart the Dovecot service.

    # sudo service dovecot restart
    
 

Enable Plaintext Authentication in Dovecot from WHM :

 

  1. Login to WHM.

  2. Go to Server Configuration.



  3. Select the Mailserver Configuration. It will open all settings of mail server configurations.



  4. Find Allow Plaintext Authentication (from remote clients)



  5. Select Yes from DropDown.

  6. Click on Save Changes Button.

          It is Done. Here, we have shared the steps to allow Plain text authentication in Dovecot.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to install NodeJS on Centos with cPanel?

NodeJS is an open-source and cross-platform server environment. It is a JavaScript runtime built...

How to install the Zabbix agent version 4.0 on Debian 9 (strech)?

Zabbix is an Open-source monitoring tool use to monitor the health of servers, networks and other...

How to install Virtualmin/Webmin control panel in CentOS 7?

Before starting the installation, we need to update packages.   After Creating the VPS with...

Can I upgrade my VPS plan without losing any data or settings?

Yes, you can upgrade your existing VPS to higher plan anytime. Your data will remain intact. We...

How to Install SHOUTCast Radio Server on Linux VPS?

This tutorial will assist you to install SHOUTcast Distributed Network Audio Server (DNAS 2.0) in...