[EMAIL PROTECTED] wrote: > User for SpamAssassin Mail List wrote: > >>I've looked around and could not find this answer. How does one >>change the temp directory that spamd uses? I see it using /tmp on our >>debian sarge server using a debian spamassassin 3.0.3-2 version. >> >>I would like to change it to /var/tmp which on our system is a much >>faster SCSI raid disk. > > >>From USAGE: > - SpamAssassin now uses a temporary file in /tmp (or $TMPDIR, if that's > set in the environment) for Pyzor and DCC checks. Make sure that this > directory is either (a) not writable by other users, or (b) not shared > over NFS, for security. > > So, if you set $TMPDIR in the spamd user's environment to /var/tmp, that > should do it. >
Also note this will affect every perl package that uses File::Spec->tmpdir too.