Calculate statistics from your Qmail logfiles using Awstats

Awstats is a commonly used program to calculate web statistics from your webserver logfiles. It can detect useragents, referers, unique visitors… But one of its another feature is to build usage reports from your mail server’s logfiles, as seen on this demo. Here is how to quickly configure Awstats to take profit of your Qmail log files…

October 13, 2008 · Guillaume Plessis

Qmailadmin 1.2.11 updated

I just updated Qmailadmin 1.2.11 for Etch amd64/i386 to include some changes : instead of a checkbox to enable/disable spam filtering on pop accounts, there is now a list to chose what to do (no filtering, marking spams, deleting spams, learn spam, learn ham). This allow anyone to easily train your bayesian filters. Spamassassin is now recommanded and will replace bogofilter in a near future Clamassassin replaces clamfilter.pl due to performance issues. Please DO update the /etc/procmailrc-* files during the upgrade to ensure virus are scanned.

September 29, 2008 · Guillaume Plessis

How to bind your Qmail server to a specific IP address

Just a little tip : By default, Qmail listens to all the available IP address on the machine (0.0.0.0). It is possible to change this behaviour to bind Qmail to a specific IP. We suppose that you are using Qmail from Dotdeb and launching it using the provided init script, /etc/init.d/qmail. Just edit it and change these lines : sh -c "start-stop-daemon --start --quiet --user qmaild \ --pidfile /var/run/tcpserver_smtpd.pid --make-pidfile \ --exec /usr/bin/tcpserver -- -H -P -R -l 0 \ -u `id -u qmaild` -g `id -g nobody` -x /etc/tcp.smtp.cdb 0 smtp \ $rblsmtpd /usr/sbin/qmail-smtpd 2>&1 \ | $logger &" by those ones : ...

August 27, 2008 · Guillaume Plessis

How to enable greylisting on your Qmail server

Greylisting is very useful to avoid most of the incoming spam on your mail server. The Qmail packages shipped on Dotdeb have built-in MySQL-based greylisting. Here is how to enable it… Installation First of all, be sure to have Qmail installed from Dotdeb with a version number greater than 1.03-37.dotdeb.1. Then, since we’ll use a MySQL backend to share the greylisting database between several servers, be sure to have MySQL installed somewhere on your boxes. ...

August 24, 2008 · Guillaume Plessis

How to enable the SMTP authentification on your Qmail server

The Qmail package from Dotdeb has been built with SMTP-auth features (but disabled by default). Here is the way to use them… Installation First of all, we suppose that : you installed the last Qmail and Vpopmail packages from Dotdeb you’re launching them using the bundled init scripts (with tcpserver) Configuration To enable SMTP-auth, you just have to edit the /etc/init.d/qmail init script and replace these lines : sh -c "start-stop-daemon --start --quiet --user qmaild --pidfile /var/run/tcpserver_smtpd.pid --make-pidfile --exec /usr/bin/tcpserver -- -R -u `id -u qmaild` -g `id -g nobody` -x /etc/tcp.smtp.cdb 0 smtp $rblsmtpd /usr/sbin/qmail-smtpd 2>&1 | $logger &" by these ones : ...

August 24, 2008 · Guillaume Plessis