From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Terminal) Description of problem: Try to run the command mailstats on a freshly installed RH 7.1. The ansver is there is no sendmail.st file. After touch /var/log/sendmail.st it works. How reproducible: Always Steps to Reproduce: 1. mailstats 2. 3. Additional info:
sendmail.st is never created automatically. Once to do that, sendmail will start putting together statistics for you. So should be all fine, Florian La Roche
What is the empty /var/log/statistics then which is included in the rpm? Isn't it /etc/mail/statistics as mentioned in "man sendmail"? But Red Hat has defined it to be define(`STATUS_FILE', `/var/log/sendmail.st')dnl in both these files: /usr/share/sendmail-cf/cf/redhat.mc /etc/mail/sendmail.mc I think the original reporter is right, and this is a bug with a trivial fix.
Agreed, this is a bug and RedHat should figure out whether they want to use /var/log/senmail.st, (which reqires manual intervention to activate) or /var/log/statistics (which is installed but never used). Argh! Figure it out guys! BTW, I upgraded to my current sendmail-8.11 from an older 8.9 (maybe lunar penguin?). Thus, the above bug effectively disabled statistics on my server since it renamed the old /var/log/sendmail.st, but installed a useless /var/log/statistics.