MIMEDefang uses a persistent Mail::SpamAssassin object, unfortunately.
So once it's created, subsequent calls to spam_assassin_check simply
return the same object even if the config file is specified differently.
You can prevent this by calling:
undef $SASpamTester;
just before any of the
On Wed, 08 Jan 2014 14:28:51 +0100
Christoph Lehmann wrote:
> I like to use different configuration files for authenticated and
> non-authenticated users.
> ($hits, $req, $names, $report) =
> spam_assassin_check('/etc/mail/sa-mimedefang.cf');
MIMEDefang uses a persistent Mail::SpamAssassin ob
I like to use different configuration files for authenticated and
non-authenticated users.
Inside MD i call SA like
($hits, $req, $names, $report) =
spam_assassin_check('/etc/mail/sa-mimedefang.cf');
or
($hits, $req, $names, $report) =
spam_assassin_check('/etc/mail/sa-mimedefang-authuser.
3 matches
Mail list logo