On 19 Sep 2002, Kenneth Porter wrote:

> I want to scan my logs for users who leave mail on the server and for
> mailboxes that haven't been popped in some period of time, or those that
> have never been popped.

find -atime is probably a better tool for this.

> I figure this can be done by grepping all the
> Stats lines from the maillog file and doing some processing on them,
> comparing them to the list of files in the spool directory.

A non-accessed mail file will have an old atime stamp, even if there's
been new mail, so tracking these is fairly easy..

AB


Reply via email to