automate deletion of old email?
Hi folks,
I've setup Spam Assassin on my mail server., and have it dumping suspected spam into the users' "Spam" folder. Does anyone know how I could go about purging that folder of mail older than 10 days, or any arbitrary number? I'm using Sendmail + UW-IMAP + Spam Assassin + Procmail. Clients are running Windows and using Outlook. I know you can set rules in Outlook, but then I have to set a rule on every users' machine. I think a better solution would be running a cronjob every night to delete old mail. Any ideas?
Thanks,
Brian
|