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?