Clean up script for tmp files
Randal, Phil
phil.randal at hoopleltd.co.uk
Wed Feb 12 12:22:48 GMT 2014
The latest version, 4.86.4 seems to clean up most of these.
If you do install that version, also get the latest TNEF.pm from the MailScanner git repository to solve the issue of loads of tnef* files being created and not deleted.
Cheers,
Phil
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Remco Barendse
Sent: 12 February 2014 10:56
To: MailScanner mailing list
Subject: Clean up script for tmp files
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
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
Hoople Ltd, Registered in England and Wales No. 7556595
Registered office: Plough Lane, Hereford, HR4 0LE
"Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it."
More information about the MailScanner
mailing list