auto delete email in mailbox

Chris Purcell redhat at cjp.us
Mon Mar 29 14:36:58 UTC 2004


> I am running RHEL AS and wanted to set something up so that I can have a
>  cron job that would go through and delete any email in all mailboxes
> that  are older than so many days.  Is there something built in that
> would do  this?  If not, does anybody know of any scripts or programs
> that are out  there that could do it?


That depends on what MTA your using and how it stores its mail.  Are you
using maildir or mbox mailboxes?

Chris







More information about the redhat-list mailing list