Title: RE: Automatically Delete Spam Mailbox Messages

I wrote a PERL script to do it.  Runs as a cron job.

If you are good with PERL, then have a look at Mail::Internet, Mail::Header, Mail::Folder::Maildir (or what ever type of folder you use)

And I used Date::Manip to figure out how old messages are.  The scripts not that big.  At least if you write your own you have full control over what it's doing.



Michael D. Eggleton
> ----- Original Message -----
> From: "Arthur Chong" <[EMAIL PROTECTED]>
>
> |
> | We would like to automatically delete the mail in this
> | Spam mailbox after say 14 days.
> |
> | How would we do this?  Through procmail ?
>
> we use qmail - vpopmail and use a perl script
> to test the size of each spam folder as well as
> the date stamp age (in our case it's approx 5 days)
>
> and run a cron job every 4 hours across all mailboxes
> having a Spam folder.
>
> Greg

Reply via email to