Solution for: fatal: open database /var/lib/postfix/smtpd_scache.db: File exists

If your mail server stops working (neither incoming nor outgoing email works) and you find the following error message in the mail.log file: fatal: open database /var/lib/postfix/smtpd_scache.db: File exists then the smtpd_scache.db might got corrupted. Postfix will recreate this file if it does not exist. So it can be removed to solve the issue: /etc/init.d/postfix ... Read more

Solution for dovecot error: /path/ is no longer mounted. If this is intentional, remove it with doveadm mount

Dovecot is watching the whole server filesystem for modifications and removed or added sub filesystems. If you get errors similar to this one on your server: Aug 30 09:10:23 server1 dovecot: master: Warning: /var/www/clients/client1/web1/log is no longer mounted. If this is intentional, remove it with doveadm mount  (the directory path may vary), then you can ... Read more

How to update Spamassassin on ISPConfig 2

The spamassassin installation on a ISPConfig 2 server is normally updated together with ISPConfig. Here are the steps iIf you want to update spamassassin manually without updating ISPConfig 2: Download the latest Spamassassin sources and unpack the tar.gz file cd /tmp wget http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/\ www.apache.org/spamassassin/source/Mail-SpamAssassin-3.3.1.tar.gz tar xfz Mail-SpamAssassin-3.3.1.tar.gz Configure, make and install spamassassin cd Mail-SpamAssassin-3.3.1 perl ... Read more

How to fix the spamassassin bug with the FH_DATE_PAST_20XX rule

Since january 1 2010, spamassassin is falsely marking non spam emails as spam due to an error in the regular expression of the FH_DATE_PAST_20XX rule. Description of the bug: https://secure.grepular.com/blog/index.php/2010/01/01/spamassassin-2010-bug/ To fix this, run the following command on the shell as root user: sa-update If you use the software ISPConfig 2 on your server, run ... Read more

I get the following error message after an Ubuntu upgrade: s_connect() failed: Permission denied Invalid user specified.

After running a system upgrade on your Ubuntu based ISPConfig 3 server, it might happen that aptitude overwrites some config files from postfix especially the main.cf file. To fix this, download the latest ISPConfig 3 installer, unpack it and run the update.php script. Choose "yes" when the updater asks if the services shall be reconfigured. ... Read more

Install postfix with MySQL support on CentOS 5.3 (64Bit)

The following article explains the steps to compile postfix MTA with MySQL support on CentOS 5.3 as e.g. needed for ISPConfig 3. Remove the postfix package from CentOS which does not has MySQL support: /etc/init.d/postfix stop rpm -e --nodeps postfix Download the postfix source RPM and install it: cd /tmp wget http://mirror.rackspace.com/CentOS/5.3/os/SRPMS/postfix-2.3.3-2.1.el5_2.src.rpm rpm -i postfix-2.3.3-2.1.el5_2.src.rpm ... Read more

Postfix: One of the users on the system has a CatchAll-email address. He receives all emails, even those intended for users of another site on the same server.

Please check if the domain of the users that receives all emails is the same as the domain $mydomain in /etc/postfix/main.cf. If this is the case, change $mydomain and run: postfix reload on the shell. You should never enter a domain that is used for a virtual site on the server as $mydomain in /etc/postfix/main.cf!