[Mimedefang] how to simulate spamassassin -D in mimedefang
alex
alex at zoosmart.us
Sun Feb 4 14:08:04 EST 2007
I got it, I modified mimedefang.pl as follows
my $sa_args = {
local_tests_only => $SALocalTestsOnly,
dont_copy_prefs => 1,
modified --> debug => 1,
userprefs_filename => $config,
};
and put this line right before the return from spam_assassin_init to
have a separate spamassassin debug log:
Mail::SpamAssassin::Logger::add(method => 'file', filename =>
'/home/defang/mime_spamassassin.log');
On Sun, Feb 04, 2007 at 01:12:38AM -0500, alex wrote:
> hi,
>
> my spam scores when I run spamassassin -t <mailmessage are different
> than when run through mimedefang, is there a way to run spamassassin
> in debug within mimedefang so I can see exactly what spamassassin is doing?
>
> thx
> _______________________________________________
> NOTE: If there is a disclaimer or other legal boilerplate in the above
> message, it is NULL AND VOID. You may ignore it.
>
> Visit http://www.mimedefang.org and http://www.roaringpenguin.com
> MIMEDefang mailing list MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
More information about the MIMEDefang
mailing list