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
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
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
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
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
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
Problem: I have set the website to external mailserver in ISPConfig but emails get still delivered to the local server. Solution: Set all co-domains of this website to external mailserver too. You find the external mailserver setting on the options tab of every co-domain.
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!
ISPConfig 3 uses ClamAV (http://www.clamav.net) as virus scanner and spamassassin as spam scanner. Amavisd-new is used as content filter.
ISPConfig 2 uses ClamAV (http://www.clamav.net) as virus scanner and the E-mail Sanitizer (http://www.impsec.org/email-tools/procmail-security.html) as content filter.