On 14-Oct-2009, at 14:25, Bob Cohen wrote:
I have set up SpamAssissin with an account to collect rejected emails. Is there a way to periodically empty the mail queue for that account with a cron job or some other such method that does not require human intervention

here's what I use:

5 1 * * * find /path/to/.SPAM/{cur,new} -type f -ctime +7 -exec rm {} \;


Deletes all the spam over 7 days old at 0105 daily.


--
And, while it was regarded as pretty good evidence of criminality
        to be living in a slum, for some reason owning a whole street
        of them merely got you invited to the very best social
        occasions.

Reply via email to