GICT knowledge base
Fix Dovecot Plaintext Authentication Errors Without Weakening TLS
Published
An IMAP or POP3 client reporting that plaintext authentication is disallowed usually needs a properly configured encrypted connection, not a server-wide exception that permits passwords over an unencrypted network. Check the client and server version before editing Dovecot settings.
Check the client first
Use the host’s documented mail hostname, port and encryption mode. Implicit TLS and STARTTLS are different connection modes; select the combination the service actually supports. Verify the certificate name and trust rather than bypassing a warning. Do not send a real password through telnet or another unencrypted diagnostic session.
The names LOGIN and PLAIN describe authentication mechanisms. They do not by themselves mean the network connection is unencrypted: these mechanisms can run inside a protected TLS connection. Base64 encoding alone is not encryption.
Dovecot settings differ by major version
- In Dovecot 2.3,
disable_plaintext_auth = yesrestricts cleartext authentication on connections Dovecot does not consider secure. The old article reversed the meaning of this setting. - In Dovecot 2.4, the replacement setting is
auth_allow_cleartext. A value ofnorestricts cleartext authentication on unsecured connections. Do not copy the 2.3 name into 2.4 or assume the old and new booleans have the same direction. - A line beginning with a comment marker is not an active setting. Effective behavior also depends on included configuration, TLS settings and trusted connection handling.
These explain configuration semantics, not a ready-to-paste production change. An authorized administrator should inspect the installed release and effective configuration privately, protect any sensitive diagnostic output, and validate a recoverable candidate before a controlled reload.
WHM-managed mail servers
Use Service Configuration > Mailserver Configuration rather than blindly editing a generated Dovecot file. The option about allowing plaintext authentication from remote clients has security consequences: allowing it is not the way to enforce encryption. Read the installed interface’s description and retain the encrypted-access requirement unless a separately assessed policy explicitly says otherwise.
If encrypted login still fails
Check server logs privately for TLS negotiation, authentication-backend or account errors. Distinguish a certificate or protocol problem from a wrong password. On managed hosting, provide support with the error, client version and connection settings, never the password. No global TLS or authentication protection needs to be disabled to collect those details.
References: Dovecot 2.4 setting; Dovecot TLS and authentication; WHM Mailserver Configuration.
Reviewed October 15, 2026. Documentation review; no mail-server settings or customer authentication were changed or tested.
Related guides
End of TLS1 and TLS 1.1 support in cPanel as of version 132
The End of an Era: Why TLS 1.0 and 1.1 Are Gone, and What it Means for cPanel Users * Update: If Dovecot settings under Web Host Manager >> mailserver configuration is...
Email Client / WebmailRemove Your IP from the Hotmail/Outlook Blacklist
Remove Your IP from the Hotmail/Outlook Blacklist. A suspicious or wrong email practice can lead o serious deliverability problems, such as spam placements
Email Client / WebmailcPanel Horde Data Conversion from MySQL to SQLite
The horde_mysqltosqlite ScriptThe horde_mysqltosqlite script in cPanel is used to transfer and convert Horde user data from a single shared MySQL
Email Client / WebmailFind Verified Mail Client Settings in cPanel and Webmail
Find mailbox-specific IMAP, POP and SMTP settings, pair ports with TLS correctly and configure clients without exposing passwords or using root access.
