1. Dovecot won't authenticate If for any reason Dovecot IMAP4/POP3 clients won't authenticate with the following error: Jun 14 08:40:56 imap-login: Info: Disconnected (no auth attempts in 0 secs): \ user=<>, rip=, lip=, TLS handshaking: SSL_accept() \ failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate: \ SSL alert number 42, session= Create either a signed or self-signed certificate and restart Dovecot.
  2. Squirrelmail won't authenticate If for any reason you cannot login to squirrelmail with authentication errors open the config file '/etc/squirrelmail/config_local.php' and edit the entry to read, '$imap_auth_mech = 'login';' matching one 'auth_mechanisms = plain login' parameters in Dovecot's configuration. On most toasters 'auth_mechanisms' is in 'toaster.conf'. Make sure that Squirrelmail's webmail login is protected with https. Enter the following at the top of Squirrelmail's Apache configuration file '/etc/httpd/conf/squirrelmail.conf': RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] This will ensure all traffic including login passwords are encrypted. In fact it is a good idea to add this in all QMT webmail and administration sites including 'roundcubemail.conf' and 'toaster.conf' It is also a good idea to lock down QMT administration to certain IP addresses defining your own 'aclnet' variable
  3. QMT man pages don't work (ex. # man qmail-smtpd), enable them with the following command." # echo "MANDATORY_MANPATH /var/qmail/man" >> /etc/man_db.conf
  4. Upgrading php-5.4 to >php-7.1 (remi) on CentOS 7 causes QMT web failures, fixes below. In file /usr/share/toaster/htdocs/mrtg/index.php (mrtg) lines 23-25 from: eregi($vettore[0] . "(.*)" . $vettore[1] , $contents, $buffer); $buffer = ereg_replace("SRC=\"", "src=\"/stats-toaster/?file=", $buffer[1] ) ; $buffer = ereg_replace("<HR>", "", $buffer ); to: preg_match("#" . $vettore[0] . "(.*)" . $vettore[1] . "#s", $contents, $buffer); $buffer = preg_replace("/SRC=\"/", "src=\"/stats-toaster/?file=", $buffer[1] ) ; $buffer = preg_replace("/<HR>/", "", $buffer ); In file vi /usr/share/toaster/include/admin.inc.php (admin-toaster) lines 15 and 16 from: $contents = ereg_replace("\n", "", $contents ) ; $contents = ereg_replace("\r", "", $contents ) ; to: $contents = preg_replace("\n", "", $contents ) ; $contents = preg_replace("\r", "", $contents ) ;