Fixing the SquirrelMail Permissions Error in Webuzo

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
You can face the “Error connecting to IMAP server: example.com.
111 : Connection refused
” Error id Dovecot service is not installed on your server.
Squirrel IMAP Error

Fix for the same is to quickly install Dovecot by a click from the Webuzo Enduser Panel >> Apps >> Utilities Category
Guide : http://www.webuzo.com/wiki/Install_System_Apps

Restart the Dovecot Service to avoid other issues:
Guide : http://webuzo.com/wiki/Restart_services

From the command line:
service dovecot restart

Issue # 2
For instance you may face an error as follows while logging in to the web-client, which is related to inappropriate permissions for the attach and data directories.

Squirrel Mail Error

Execute the following commands from your terminal as a root user to fix the above issue.

chown -R emps:emps /var/local/vmail/attach/
chown -R emps:emps /var/local/vmail/data/

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

Issue # 3
You can also come across a “Temporary Failure” Error while sending emails from SquirrelMail

Quick Fix for the same is to restart the Dovecot and Exim services.

Guide : http://webuzo.com/wiki/Restart_services

From the command line:
service dovecot restart
service exim restart

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

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