From: Joerg Henner <firstname.lastname@example.org>
As shipped the mailstats program will not work, this is
because the Caldera distribution puts the sendmail.st in
/var/state, but their sendmail.cf expects it in /var/log. If
you want to use the mailstats program you must create
sendmail.st 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.
the line that reads:
O StatusFile=/var/log/sendmail.stso it reads:
O StatusFile=/var/state/sendmail.stBe sure to restart sendmail using either:
# /etc/rc.d/init.d/mta stop # /etc/rc.d/init.d/mta startor
# /etc/rc.d/init.d/mta reloadThese changes require root access.