SpamAssassin Temporary Files

--[ UxBoD ]-- uxbod at
Wed Aug 23 13:26:03 IST 2006


I am attempting to tune our MailScanner/SpamAssassin implementation, and have created a 256MB tmpfs for the bayes databases and incoming work area.
What would be good is if a configuration item could be added to MailScanner for the SpamAssassin TMPDIR variable.  I have harded coded it at the moment  in the MailScanner perl script with :-

$ENV{TMPDIR}="/var/spool/MailScanner/spamassassin"; # Write Temp Files to TMPFS

And that does appear to speed things up quite nicely.  I have FuzzyOCR running aswell so this now inherits the TMPDIR path aswell.

What do you think ?


--[ UxBoD ]--
// PGP Key: "curl -s | gpg --import"
// Fingerprint:     543A E778 7F2D 98F1 3E50  9C1F F190 93E0 E8E8 0CF8
// Keyserver:                     Key-ID: 0xE8E80CF8

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list