Hello all. We have some strange problem with MD & SA. Bayes analyser of SA always gives score of 0.5. All other tests working (including network tests, like razor, dcc & so).
If we're run FC1, spamassassin-2.63-0.9.2 rpm. $ spamassassin -p /etc/mail/sa-mimedefang.cf -t < /usr/share/doc/spamassassin-2.63/sample-spam.txt works and gives bayes score of -0.0 BAYES_44 BODY: Bayesian spam probability is 44 to 50% [score: 0.4993] Bayesian database filled from spam & ham mail via sa-learn and ok. Any mail, passed through MimeDefang filter fails check with bayes score 0.5 :( Filter reads: .... $SALocalTestsOnly = 0; if ($Features{"SpamAssassin"}) { spam_assassin_init()->compile_now(1) if defined(spam_assassin_init()); } .... if ($Features{"SpamAssassin"}) { if (-s "./INPUTMSG" < 100*1024) { my($hits, $req, $names, $report) = spam_assassin_check(); my($score); if ($hits < 40) { $score = "*" x int($hits); } else { $score = "*" x 40; } if ($hits >= $req) { action_change_header("X-Spam-Score", "$hits ($score) $names"); action_change_header("Subject", "[SPAM] $Subject"); md_graphdefang_log('spam', $hits, $RelayAddr); action_add_part($entity, "text/plain", "-suggest", "$report\n", "SpamAssassinReport.txt", "inline"); } else { action_delete_header("X-Spam-Score"); } } .... mimedefang-2.44 What can make such problem? We checked permissions hundred times, all looks ok... How to enable debug of SA processing? Thanks, -- WBR Andrew Savin, Netline system administrator. _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang