[Mimedefang] Still getting _SUMMARY_ instead of a report in 1 of 1000 cases

Martin Blapp mb at imp.ch
Sun May 4 18:04:12 EDT 2008


Hi,

I'm trying now to repeat the failing spamassassin check, with
debug statements enabled:

$SASpamTester->{debug} = 'all';
Mail::SpamAssassin::Logger::add_facilities($SASpamTester->{debug});
($hits, $req, $names, $report) = spam_assassin_check();
if ($report =~ /_SUMMARY_/) {
 	md_syslog('err', "$QueueID: tempfail, SA internal ERROR");
 	exit;
}

I could not find a way to disable debugging again, so the only way
seems to call exit to kill the worker.

--
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