[Mimedefang] Help with SA within MD (fwd)

Martin Blapp mb at imp.ch
Mon Jun 18 16:58:59 EDT 2007


Hi,

>>  	I found David's patch. It fix the problem of the files not being
>> removed, but they are still being created in /tmp.
>
> In your mimedefang startup script, define a TMP variable to point to
> whatever location you want it to, and export it.

Hi,

I prefer to have the temp files created in the mimedefang spool dir:

use vars qw($CWD);
$ENV{TMPDIR} = $CWD;
($hits, $req, $names, $report) = spam_assassin_check();

works as expected ... But you still need Davids patch ...

--
Martin

Martin Blapp, <mb at imp.ch> <mbr at FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: <finger -l mbr at freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------



More information about the MIMEDefang mailing list