amavis-user June 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: [AMaViS-user] $TEMPBASE directory Cleanup

Re: [AMaViS-user] $TEMPBASE directory Cleanup

From: Clayton Keller <inetadmin_at_nospam>
Date: Wed Jun 16 2010 - 19:04:56 GMT

On 6/16/2010 1:46 PM, Noel Jones wrote:
> On 6/16/2010 12:14 PM, Clayton Keller wrote:
>> I am using a tmpfs using RAM for $TEMPBASE.
>> I would like to cleanup this mount from time to time. I have
>> files/directories on occasion sit stale and take up space.
>> Will there be an issue if I remove a file/directory from $TEMPBASE
>> without stopping amavisd prior to doing so?
>> As a safety measure I will not remove anything that isn't older than the
>> current maximum queue life of a message + a small buffer as added on as
>> well.
> Typically anything more than ~24 hours old can be safely
> removed from the amavisd-new $TEMPBASE.
> If you're getting lots of stuff left over in $TEMPBASE, you
> should investigate why. Search the log files for 'PRESERVING
> EVIDENCE' to find errors that cause amavisd-new to leave the
> tmp files for analysis.
> -- Noel Jones

Thank you for the info. I'm not seeing much in the logs for 'PRESERVING
EVIDENCE'. I do recall that being mentioned in a previous post, I'll
check the archives and read up further and keep my eye out for it in the

The info you've provided confirms my thinking.



ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
AMaViS-user mailing list
 Please visit regularly
 For administrativa requests please send email to rainer at openantivirus dot org