A performance upgrade

Furnish, Trever G TGFurnish at HERFF-JONES.COM
Tue Nov 11 22:27:27 GMT 2003


> -----Original Message-----
> From: Lindsay Snider [mailto:lindsay at pa.net]
> Sent: Tuesday, November 11, 2003 3:42 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: A performance upgrade
>
>
> On Tuesday 11 November 2003 14:35, Kevin Spicer wrote:
> >
> > The single best performance tweak is to put the MailScanner work
> > directory into tmpfs.  See todays thread 'tmpfs' for details.
>
> I noticed spamassassin also writes each email it scans to a
> file in /tmp.  Has
> anyone had any luck changing where spamassassin writes it's
> temp files to?
> It'd be nice to put them on tmpfs as well (w/o putting all of
> /tmp on tmpfs).
>
> Looking through SA's source, it looks like you have to set an
> environmental
> variable.  I tried setting the variable in
> /etc/sysconfig/MailScanner and
> /etc/rc.d/init.d/MailScanner but in both cases, environmental
> variables get
> wiped in the spawned version of MailScanner.

I have wondered the same thing, so I'd be very interested in whatever you
discover.

What's the name of the env variable?

When you say you tried setting it in the init script, did you remember to
export it?

--
Trever



More information about the MailScanner mailing list