View Single Post
Old 12th November 2009, 12:10
Ovidiu Ovidiu is offline
Senior Member
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts

I have used this command to count hte number of files:

h1550830:/var/lib/amavis/tmp# find . -type f | wc -l
it was 110.000 then I used this command to delete everything older than 3 days:

h1550830:/var/lib/amavis/tmp# find /var/lib/amavis/tmp * -type f -mtime +3 -exec rm -f {} \;
because 3 days ago I moved a client with a fairly huge newsletter with lots of dead recipients. We are currently in the process of cleaning it up via the bounces.

Anything else I can do in the meantime?
Oh, btw. the tmp fodler seems to be fully cluttered with te,porary spamassassin files...

Last edited by Ovidiu; 12th November 2009 at 12:27.
Reply With Quote