WHM/cPanel

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.

XsoftHost Support

Share
Tags: PlaintextWHM

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration…

4 years ago

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays…

4 years ago

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum…

6 years ago

How to install Let’s Encrypt Plugin in WHM/cPanel

What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…

6 years ago

How to install python in my cPanel and add py extension

Python normally installed on all cPanel hosting server because most of Centos/red hat update system…

6 years ago

How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two…

6 years ago