Fixing the “Bad request: The IMAP server is reporting that plain text logins are disabled. ” error in Webuzo SquirrelMail

Squirrel MailWebuzo is ported with SquirrelMail as the default web-client to access emails.
SquirrelMail is a standards-based webmail package written in PHP. It includes built-in pure PHP support for the IMAP and SMTP protocols, and all pages render in pure HTML 4.0 (with no JavaScript required) for maximum compatibility across browsers. It has very few requirements and is very easy to configure and install. SquirrelMail has all the functionality you would want from an email client, including strong MIME support, address books, and folder manipulation.

It is deployed along with Exim – the SMTP Email Server, which can be installed by a click from the Webuzo Enduser Panel >> Apps >> Utilities Category

Guide : http://www.webuzo.com/wiki/Install_System_Apps

Accessing SquirrelMail is as simple as a pie with Webuzo.
Guide : http://webuzo.com/wiki/Access_Emails

Issue # 1
Error : Bad request: The IMAP server is reporting that plain text logins are disabled.
For instance you may face an error as follows while logging in to the web-client, which is forced SSL authentication.

Squirrel Mail Error

Fix for the above issue

Step 1)
Open the Dovecot Auth configuration using your favorite editor
1) SSL

vi /etc/dovecot/conf.d/10-auth.conf

Replace the line (Comment the line !!!)
ssl = yes

by

#ssl = yes

Save the above file !!!

Step 2)

Open the Dovecot SSL configuration using your favorite editor
1) Turn OFF SSL

vi /etc/dovecot/conf.d/10-ssl.conf

Replace the line
ssl = required

by

ssl = no

Save the above file !!!

Step 3)
Restart the Dovecot Service

service dovecot restart

That’s it !!! Simple enough !!!

Similar SquirrelMail issues :
http://www.webuzo.com/blog/general/webuzo-email-server-fix-for-mozilla-thunderbird-and-outlook-1982.html

Demo :
Admin Panel : http://demo.webuzo.com/
Enduser Panel : http://demo.webuzo.com/enduser/

Support : https://www.softaculous.com/support/open.php?

Webuzo Email Server Fix for Mozilla Thunderbird and Outlook

Mozilla Thunderbird is a free, open source, cross-platform email, news, and chat client developed by the Mozilla Foundation and Microsoft Outlook is a personal information manager from Microsoft, available as a part of the Microsoft Office suite.

Follow the guides below to configure your email account created using Webuzo :

1) Mozilla Thunderbird

2) Microsoft Outlook

If at all you face a “550 Relay not permitted error” or “Authentication Error”, the steps below will fix them all.

Note : This Fix is applicable for CentOS 6.x

Exim Configurations
Open the Exim configuration using your favorite editor

1) auth_advertise_hosts
vi /etc/exim/exim.conf

Replace the line
auth_advertise_hosts =

by

auth_advertise_hosts = *

2) Enable Authenticators

Add the following right after “begin authenticators”

begin authenticators

dovecot_login:
driver = dovecot
public_name = LOGIN
server_socket = /var/run/dovecot/auth-client
# server_set_id = $auth1
server_mail_auth_condition = false

dovecot_plain:
driver = dovecot
public_name = PLAIN
server_socket = /var/run/dovecot/auth-client
# server_set_id = $auth1
server_mail_auth_condition = false

Save and file and Exim is all ready to be used.

Dovecot Configurations

1) Edit the file 10-auth.conf using your favorite editor.
vi /etc/dovecot/conf.d/10-auth.conf

Replace the line
auth_mechanisms = plain

by

auth_mechanisms = plain login

Save the file.

2) Edit the file 10-master.conf using your favorite editor.
vi /etc/dovecot/conf.d/10-master.conf

Replace the following
unix_listener auth-userdb {
#mode = 0600
#user =
#group =
}

by


#unix_listener auth-userdb {
#mode = 0600
#user =
#group =
#}

unix_listener auth-client {
mode = 0666
}

Save the file. That’s it !!!

Restart the Exim and Dovecot services

root > service dovecot restart
root > service exim restart

Support : https://www.softaculous.com/support/open.php?