Does any one know why

Mark Sapiro mark at msapiro.net
Wed Sep 30 18:26:31 UTC 2015


On 09/30/2015 11:13 AM, Philip Parsons wrote:
> /var/spool/MailScanner/incoming/SpamAssassin-Temp
> 
> Is full will tmp files ?
> 
> Is there a script that can keep it clean..


How about

find /var/spool/MailScanner/incoming/SpamAssassin-Temp/ \
 -type f -mmin +60 -exec rm '{}' \;

Or if you want to be more conservative, -mtime +1 instead of -mmin +60

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list