amavisd-new + sa-learn = not working
Cesar A.
daemoncesar at hotmail.com
Sun Feb 15 21:13:28 CET 2015
Hello !
The sa-learn command does not work in amavisd-new.
/etc/spamassassin/local.cf
-------------------------------------use_bayes 1bayes_auto_learn 1bayes_auto_expire 0bayes_path /var/lib/amavis/.spamassassin-------------------------------------
20-debian_defaults--------------------------------------$sa_spam_subject_tag = '***SPAM*** ';$sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level$sa_tag2_level_deflt = 6.31; # add 'spam detected' headers at that level$sa_kill_level_deflt = 6.31; # triggers spam evasive actions$sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent--------------------------------------...
command " sa-learn --dbpath /var/lib/amavis/.spamassassin --ham *"
----------------------------------root at intranet:/usr/local/postfix/mydomain.com/user at mydomain.com/cur# ls1424025589.V801Ida6046M830986.intranet:2,ST 1424025594.M622625P2286V0000000000000801I0000000000DA605A_15.intranet,S=4819:2,Sroot at intranet:/usr/local/postfix/mydomain/user at mydomain.com/cur# sa-learn --dbpath /var/lib/amavis/.spamassassin --ham *Learned tokens from 1 message(s) (2 message(s) examined)root at intranet:/usr/local/postfix/mydomain.com/user at mydomain.com/cur#-----------------------------------
When sending again ... the email is SPAM again.
have tried sa-learn --sync
not working...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20150215/92aec435/attachment.html>
More information about the amavis-users
mailing list