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: Noel Jones <njones_at_nospam>
Date: Wed Jun 16 2010 - 18:46:47 GMT

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

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