Clean up script for tmp files
Remco Barendse
mailscanner at barendse.to
Wed Feb 12 10:55:59 GMT 2014
I know the subject was discussed on the mailing list several times but i
didn't find the ultimate solution.
Does anyone have a super duper cleanup script for all the files in :
/tmp
for files like tmp.DPhoj31724
/var/spool/MailScanner/incoming/SpamAssassin-Temp
for files like .spamassassin3805xUDKuUtmp
MailScanner.0aOrDx
tmp.IKiiOy6683
They are seriously clogging up my filesystem and slowing down the system.
I tried to script something based on the age of the file but it didn't
work (maybe because most are zero byte files).
Thanks!
Remco
More information about the MailScanner
mailing list