SA temp dir ...

Greyhair greyhair at GREYHAIR.NET
Sun Jun 15 22:58:17 IST 2003

you could edit the configure file in the spamassassin source
from the 2.55 source:

     # Create a (secure) tmp directory for tmp files.
     : ${TMPDIR=/tmp}
     tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
     test -n "$tmp" && test -d "$tmp"

you could change the TMPDIR line to the directory you want. Make sure your
permissions are 100% correct!!  Then recompile.  Is it worth it?

----- Original Message -----
From: "Raymond Dijkxhoorn" <raymond at PROLOCATION.NET>
Sent: Sunday, June 15, 2003 3:49 PM
Subject: SA temp dir ...

> Hi!
> I noticed that SpamAssassin was using the normal tmp dir on my system to
> do its actions. Cant that be altered ? I am using tmpfs for my
> /var/spool/MailScanner/incoming and it would be nice it SA also could work
> there, would speed things up i think.... less disk i/o.
> Any way to do that Julian ? Perhaps a new switch in the SA config part ?
> Bye,
> Raymond.

More information about the MailScanner mailing list