In message <AAA6562E-90DD-4EE9-9E10-FD380B7E7C3A(_at_)kreme(_dot_)com>,
LuKreme (kremels(_at_)kreme(_dot_)com) wrote:
Not sure where to post this, so thought I'd start here.
I have a postfix server with virtual (mysql) users who use maildir. I
have procmail working for those users, and one of the things procmail
does is filter out the spam and put it in a .SPAM maildir.
Trouble is, some users never check this folder, and I've a couple
where the .SPAM is over a gig in size, and growing.
What I would like to do is figure out some way to auto-delete messages
in there that are, say, 30 days old or older.
I am sure there are many ways to do this, but how about using
archivemail (http://archivemail.sourceforge.net/). I use it for
archiving and deleting old mail and it works fine. I run it from cron
in every night.
Cheers,
Nick.
--
Thanks to the IAU Gustav Holst can now rest easy in his grave. As for
Mr. Colin Matthews, I suggest he look elsewhere for employment, perhaps
as a vampire!
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail