[NTLUG:Discuss] Removing old email messages (I am using sendmail)

Rev. wRy slot0k at pogox.org
Thu Sep 19 15:42:16 CDT 2002


Neil Aggarwal wrote:

> I am using RedHat 7.3 with sendmail 8.11.6-15
> I believe there are ways to limit the maximum size of an email
> message and the maximum size of a user's mailbox, but

There are.

> is there a way to automatically remove any messages
> in a user's box that are more than 60 days old?

Not to my knowledge from within sendmail itself (although I could well 
be wrong).

I did find references to a program called em (Expire Mail), which is 
available from ftp.rohan.sdsu.edu /pub/unix/em.shar

It compiled quite easily on my RH 7.2 box and seems to be pretty 
straightforward.

I can forward it to you directly if you'd like.

> Thanks,
> 	Neil.

Ry





More information about the Discuss mailing list