Web Hosting Talk







View Full Version : Delete emails after 90 days automatically


lucid
01-09-2004, 06:46 AM
Hi all.

A new client has requested that we redirect the spam detected with mailscanner by RBL and Spamassassin to a separate account.

They then want to be able to check the account for any false positives but any email older than 90 days should get deleted.

I've got procmail doing the forwarding but any ideas on how to automatically delete email after 90 days form an account?

Thanks, Rob.

stftk
01-09-2004, 03:49 PM
Hello,

I dont know what they use to check the account, but if they use Horde I know they can set-up Horde's auto-prune/maintenance feature and tell it to auto-delete all emails after 90 days, check around in horde settings.

Thanks,
Dan

mikeym
01-09-2004, 08:10 PM
I use horde too, it should be able to do that, all sent mail is usually deleted every month anyway, just depends on what exactly you want done with the mail in what folders.

dynamicnet
01-09-2004, 08:36 PM
Greetings:

See http://search.cpan.org/~markov/Mail-Box/

Thank you.

lucid
01-09-2004, 08:48 PM
I'm hoping to find a gracefull script somewhere but I think I'm going to have to knock one up ti run as a cron job.

Horde and IMP look interesting and I've had a play before, it just seems a bit of over kill to install them just for this.

Thanks for you advice, Rob.

volfman
01-10-2004, 01:36 AM
if you're using Maildir a simple script using "find" can do the trick.

YUPAPA
01-10-2004, 02:12 AM
Are you looking for a script just to delete email messages over 90 days old? :stickout:

lucid
01-10-2004, 07:40 AM
Just a script which I can cofigure that'll delete emails after 90 days and run from cron.

Rob.

webgusto
03-28-2004, 11:14 PM
Originally posted by DynamoHost
Hello,

I dont know what they use to check the account, but if they use Horde I know they can set-up Horde's auto-prune/maintenance feature and tell it to auto-delete all emails after 90 days, check around in horde settings.

Thanks,
Dan
I have looked all through Horde and can't find anything that will let me auto-delete messages, except those in trash.

I'd love to have something that would let me dump spam after it sits in the spam box for 30 days or so -- where is this auto-prune feature?

Thanks

lamp
11-30-2004, 06:16 PM
Originally posted by webgusto
I have looked all through Horde and can't find anything that will let me auto-delete messages, except those in trash.

I'd love to have something that would let me dump spam after it sits in the spam box for 30 days or so -- where is this auto-prune feature?

Thanks

Anyone?