Good day all,
I have followed this HOWTO (page 2) for Ubuntu and seeing some strange results.
I am getting the graphs, but its like the log file is not being parsed. Also when I login to the server and tail-f /var/log/mail.log I am not seeing any activity but I know mail is flowing.
Also the pflogsum script did not execute in crontab But I think I fixed this this morning and will have to wait until tommorow to see for sure.
After I initially installed I manually ran the pflogsumm script and got the email. After I fixed crontab I manually ran it again and It looks like the exact same stats from the day before.
I do notice that the contents of the mail.log file are changed after I run the script but its like the messages are not going to mail.log anymore
here is my crontab
root@vmail:/etc# cat crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# This file also has a username field, that none of the other crontabs do.
# m h dom mon dow user command
17 * * * * root run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily
47 6 * * 7 root test -x /usr/sbin/anacron || run-parts --report /etc/cron.weekly
52 6 1 * * root test -x /usr/sbin/anacron || run-parts --report /etc/cron.monthly
0 7 * * * root /usr/local/sbin/postfix_report.sh &> /dev/null
here is the dir listing showing my mail.log files
root@vmail:/var/log# ls -al mail.log*
-rw-r----- 1 root adm 1376895 2006-12-19 11:59 mail.log
-rw-r----- 1 root adm 464219 2006-12-17 12:00 mail.log.0.gz
-rw-r----- 1 root adm 297485 2006-12-17 06:47 mail.log.1.gz
-rw-r----- 1 root adm 195488 2006-12-16 07:00 mail.log.2.gz
-rw-r----- 1 root adm 170399 2006-12-14 07:00 mail.log.3.gz
-rw-r----- 1 root adm 187873 2006-12-12 07:00 mail.log.4.gz
What am I missing?