Am 2008-07-15 10:14:55, schrieb LuKreme:
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.
Setup a cronjob which look into the folder and check the messages for
its access time and if older then 30 days delete it.
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
____________________________________________________________
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