> and when I use mailstats(8) (mailstats -C ~/.procmaillog) it says

Wrong program.  mailstats(8) is part of sendmail.  The program you
want is mailstat (no man page), installed in /usr/local/bin as part
of the procmail package.   But you knew that.

 > located" I also tried the "mailstat" command and it worked fine the
 > first time but from the second time onward it says "No mail arrived
 > since Dec 30 20:37" which is wrong because I received mails after that
 > time. There is also no manpage for "mailstat".

Guess: you're looking at the wrong log file.   Where does your
.procmailrc put the log?  Mine says:

...
MAILDIR=$HOME/Mail
LOGFILE=$MAILDIR/procmail.log
...

which is why I tell mailstat to do this out of cron once a day:

        mailstat /home/marc/Mail/procmail.log

// marc

Reply via email to