Hi,
in release notes I see that if I set DSPAM I can use headers for
spamassassin rules, like:
header DSPAM_SPAM X-DSPAM-Result =~ /^Spam$/m
describe DSPAM_SPAM DSPAM claims it is spam
score DSPAM_SPAM 0.5
header DSPAM_HAM X-DSPAM-Result =~ /^Innocent$/m
describe DSPAM_HAM DSPAM claims it is ham
score DSPAM_HAM -0.1
I tried, but this doesn't work. The email has the X-SPAMD-Result
header correctly set, but it is not parsed by SpamAssassin.
If I input the same mail to spamassassin, it scores the mail
accordingly to the rules above.
Versions are:
amavisd-2.6.4
dspam-3.9.0
spamassassin 3.3.1
-- amavisd conf:
$dspam = 'dspamc';
@spam_scanners = (
['SpamAssassin', 'Amavis::SpamControl::SpamAssassin'],
['DSPAM', 'Amavis::SpamControl::ExtProg', $dspam,
[ qw(--debug --stdout --classify
--deliver=innocent,spam,summary
--user), $daemon_user ],
mail_body_size_limit => 65000, score_factor => 0.4,
]
);
Do I forget something to make DSPAM header available for Spamassassin?
Thank you very much
Regards
marco
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/