Michael Davis wrote:
> Do you have a script that I can run as a CRON job and clear the SPAM  
> folders of my users at night?
>   
I found this cron job somewhere:
35 1 1 * 0 /usr/bin/find /home/*/Maildir/.Junk/cur/ -type f -mtime +365 
| xargs rm -f 1> /dev/null
This seems to work for my setup.  Be careful.  Run it without the "rm" 
portion first to see if it is finding the right files for you.  I am 
sure if you google this you can find good info and examples.  Modify the 
number of days as you see fit.
-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]

Reply via email to