In the last article, we installed the procmail utility and generated a few basic recipes. This week, let's start by looking at procmail's built-in logging mechanism. We'll then take a look at some other available resources that build on procmail's capabilities.. . .
In the last article, we installed the procmail utility and generated a few basic recipes. This week, let's start by looking at procmail's built-in logging mechanism. We'll then take a look at some other available resources that build on procmail's capabilities.

On your FreeBSD system, there is a utility called mailstats that gives you statistics on how many messages were handled by the sendmail program:

 mailstats Statistics from Mon Dec 24 08:17:21 2001  M   msgsfr  bytes_from   msgsto    bytes_to  msgsrej msgsdis  Mailer  0        0          0K        7         10K        0       0  prog  8        8         30K        1          3K        0       0  relay =============================================================  T        8         30K        8         13K        0       0  C        8                    8                    0