Quarantine store length?

Lindsay Snider lindsay at pa.net
Mon Oct 6 20:02:02 IST 2003


On Monday 06 October 2003 14:00, Max Kipness wrote:
> Is there anyway to configure the length of time that quarantined spam is
> held? I'm guessing not, unless I missed something. I'd like to be able to

You can control how long stuff is quarantined through tmpwatch.  Run something 
similar to the following from cron:
/usr/sbin/tmpwatch --mtime 720 /var/spool/MailScanner/quarantine

In RedHat, add this line to /etc/cron.daily/tmpwatch
-Lindsay

> have spam deleted after held for a period of one month.
>
> Thanks,
> Max




More information about the MailScanner mailing list