qmailanalog-web installation
1. get the files needed:
$ wget http://www.jptrainings.de/qmailanalog-web/INSTALL
$ wget http://www.jptrainings.de/qmailanalog-web/FGA
$ wget http://www.jptrainings.de/qmailanalog-web/qmail-savelog
$ wget http://www.jptrainings.de/qmailanalog-web/qmail-splitlog
$ wget http://www.jptrainings.de/qmailanalog-web/qmailanalog-web
2. read and follow instructions in INSTALL and FGA file
3. get and compile tai64nfrac :
$ wget http://archives.eyrie.org/software/system/tai64nfrac-1.4.tar.gz
$ tar xzfv tai64nfrac-1.4.tar.gz
$ cd tai64nfrac-1.4
$ su -
$ make install
4. get and install qmailanalog from http://cr.yp.to/qmailanalog.html. if runnig RHEL or fedora you might need :
$ vi err-patch
and paste this :
— error.h.orig 2003-03-05 15:42:51.000000000 -0500
+++ error.h 2003-03-05 15:43:00.000000000 -0500
@@ -1,7 +1,7 @@
#ifndef ERROR_H
#define ERROR_H-extern int errno;
+#includeextern int error_intr;
extern int error_nomem;
and then:
$ tar zxvf qmailanalog-0.70.tar.gz
$ cd qmailanalog-0.70
$ patch < /path/to/err-patch
$ make && make setup check
5. follow instruction from INSTALL file. cron job in /etc/crontab for qmail-splitlog is like these :
#qmailanalog-web
15 4,7,10,13,16,19,22 * * * root /usr/local/bin/qmail-splitlog /var/log/qmailanalogweb
06 2 * * * root /bin/chmod -R 755 /var/log/qmailanalogweb
6. don’t forget to chmod 755 qmail-splitlog and qmail-savelog and qmailanalog-web






