SA temp dir ...

Julian Field mailscanner at
Mon Jun 16 11:55:12 IST 2003

 From what I see of the SpamAssassin source, all you need to do is tweak
the init.d script so that it does

export TMPDIR

before it starts MailScanner. Obviously you want to make ...../satemp a
directory that your "Run As User" can write to, and you presumably want to
mount it using tmpfs.

The other, much simpler, alternative, is simply to mount your "/tmp" using
tmpfs, which is what things like Solaris do anyway.

At 21:49 15/06/2003, you wrote:
>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 ?

Julian Field
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list