problem w/ mailstats

2007-12-25 11:48:00

Well gee, this was simple, I was using a mailstats program from older

version of sendmail. Recompiled mailstats, viola, it works.

Thanks to Sergey Mokryshev for pointing that out. :)

Bill

Original problem:

> I am having a problem with the command mailstats, system is running

> Solaris 2.6, sendmail 8.9.1.

>

> As root:

>

> pity:~ >mailstats

> mailstats: file size changed.

>

> pity:~ >ls -l /etc/mail/sendmail.st

> -rw-r--r-- 1 root sys 616 Nov 12 11:43

> /etc/mail/sendmail.st

>

> Ok, so then I send a few mails in and out.

>

> -rw-r--r-- 1 root sys 616 Nov 12 11:44

> /etc/mail/sendmail.st

>

> the date changes, but upon using mailstats again:

>

> mailstats: file size changed.

>

> I also tried to specify directly the cf and st files:

>

> mailstats -C /etc/mail/sendmail.cf -f /etc/mail/sendmail.st

>

> mailstats: file size changed.

>

> I know the file size hasn't changed, but the date has so I know it is

> being written to, I can send 10 emails and the file size doesn't change.

> I would think, as I have seen it in other boxes, it would show the mail

> stats regardless.

>

> Sendmail.cf has the Status file line:

> O StatusFile=/etc/mail/sendmail.st

>

> Any suggestions as to why this may not be working? I will summarize.

>

> Bill

>

>

>

Comments

Got something to say?

You must be logged in to post a comment.