AMaViS and DSPAM Training

Jim Knuth jk at jkart.de
Fri Mar 1 13:31:00 CET 2013


am 27.02.13 14:14 schrieb Phil Daws <uxbod at splatnix.net>:

> Hello,
>
> we have amavis and SA already in place, which is working very well indeed, though we would like to enable DSPAM as-well. What we have found is that the auto-learn functionality does not seem to train DSPAM when SA triggers either spam/ham. At present we have this in our configuration file:
>
>
> @spam_scanners = (
> ['SpamAssassin', 'Amavis::SpamControl::SpamAssassin' ],
> ['DSPAM', 'Amavis::SpamControl::ExtProg', $dspam,
> [ qw(--stdout --classify --deliver=innocent,spam --mode=tum
> --tokenizer=chained,noise --user), $daemon_user ],
> learn_ham => [ qw(--class=innocent --source=error--user), $daemon_user ],
> learn_spam => [ qw(--class=spam --source=error --user), $daemon_user ],
> mail_body_size_limit => 64000, score_factor => 0.1,
> ],
> );
>
> Is this the correct way of defining DSPAM ? I read an archive posting, from last year, http://www.mail-archive.com/amavis-users@amavis.org/msg01943.html that it would not work due to the headers and that the OP ended up writing a custom hook.
>
> Would welcome advice on how we can get it to work please ?
>
> Thank you.
>

Can nobody answer then?

-- 
Mit freundlichen Grüßen,
with kind regards,
Jim Knuth
---------
Früher war alles besser. Vor allem die Zukunft.


More information about the amavis-users mailing list