Linux Step By Steps

From: Joerg Henner <>

As shipped the mailstats program will not work, this is because the Caldera distribution puts the in /var/state, but their expects it in /var/log. If you want to use the mailstats program you must create in /var/log.

I've started to develop a long time ago, also an mail-stats programm. It's not very great - but OK. I've included it here.

Update (Kurt Wall, 07/02/2001)

Alternatively, edit /etc/, changing the line that reads:

O StatusFile=/var/log/
so it reads:
O StatusFile=/var/state/
Be sure to restart sendmail using either:
# /etc/rc.d/init.d/mta stop
# /etc/rc.d/init.d/mta start
# /etc/rc.d/init.d/mta reload
These changes require root access.