Does any one know why

Philip Parsons pparsons at techeez.com
Wed Sep 30 18:43:41 UTC 2015


Great that cleans it but do you know why it is getting full.

-----Original Message-----
From: MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Mark Sapiro
Sent: September-30-15 11:27 AM
To: mailscanner at lists.mailscanner.info
Subject: Re: Does any one know why

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


-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/listinfo/mailscanner


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list