> I tried to count mail traffic with MIMEDefang. Everything goes fine but
> sometimes i see empty strings in my maillog file, such as:
> Tue Apr 13 19:58:54 2004
> 42080
> There is no ip and recipient.
> How can i solve this problem?

Simply use the "mailstats" command.  It will give you output that you need.

Make sure your sendmail is configured with statistics enabled, by placing
the following line in your sendmail.mc file:

        define(`STATUS_FILE', `/etc/mail/statistics')

Create the statistics file using the following command, if it does not
already exist:

        touch /etc/mail/statistics

Then, every night, run the following two commands in a cron task, and let
the cron task mail you the results:

        mailstats
        > /etc/mail/statistics

Ken

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
  • ... Егор Москвичев
    • ... Cormack, Ken
      • ... Egor Moskvichev
    • ... Cormack, Ken
      • ... Egor Moskvichev

Reply via email to