Guide updated on 29th of February 2016

Install isoqlog


Isoqlog is an MTA log analysis program written in C. It designed to scan qmail, postfix, sendmail and exim logfile and produce usage statistics in HTML format for viewing through a browser. It produces Top domains output according to Sender, Receiver, Total mails and bytes; it keeps your main domain mail statistics with regard to Days Top Domain, Top Users values for per day, per month and years.

aptitude install isoqlog

Choose qmail-multilog as log file type

Edit the file /etc/isoqlog/isoqlog.conf

logtype = "qmail-multilog"
logstore = "/var/log/qmail/qmail-send/"
domainsfile = "/etc/isoqlog/isoqlog.domains"
outputdir = "/var/www/mail/isoqlog"
htmldir = "/usr/share/isoqlog/htmltemp"
langfile = "/usr/share/isoqlog/lang/english"
hostname = "YOUR_FQDN"

maxsender = 100
maxreceiver = 100
maxtotal = 100

maxbyte = 100

rm /etc/isoqlog/isoqlog.domains
ln -s /var/qmail/control/rcpthosts /etc/isoqlog/isoqlog.domains
mkdir -p /var/www/mail/isoqlog/
cp -pr /usr/share/isoqlog/htmltemp/images/ /usr/share/isoqlog/htmltemp/library/ /var/www/mail/isoqlog/
/usr/bin/isoqlog

Point your browser on http://mailadmin.yourdomain.tld/isoqlog to test qmailadmin

If you want to have the reports generated hourly instead of daily :

mv /etc/cron.daily/isoqlog /etc/cron.hourly/

List of optional features


Users comments
Hip0 - 30/09/2011 19:49

I sent you email isoqlog is broken on Debian and generates empty statistics :| I've reported the issue to the debian package maintainer in debian bugs.


Color Coded Qmail Installation Key
  Regular Black Text     Qmail installation notes and summaries by the author.
  Bold Black Text     Commands to be run by you, the installer.
  Bold/Regular Red Text    Vital and/or critical information.
  Regular Blue text     Denotes helpful tips and hints or hyperlinks.
  Regular Orange Text     Command line output.
  Bold/Regular green text     Denotes the contents of a file or script.