<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>command "sa-learn --dbpath /var/lib/amavis/.spamassassin/bayes --ham --no-sync *"<div><br></div><div>Learned tokens from 5 message(s) (6 message(s) examined)<br><div><br></div><div>---</div><div><pre class="tw-data-text vk_txt tw-ta tw-text-small" data-placeholder="Tradução" id="tw-target-text" data-fulltext="" dir="ltr" style="unicode-bidi: -webkit-isolate; border: none; padding: 0px 0.14em 0px 0px; position: relative; margin-top: 0px; margin-bottom: 0px; resize: none; font-family: inherit; overflow: hidden; width: 237.5px; white-space: pre-wrap; word-wrap: break-word; color: rgb(33, 33, 33); height: 48px; line-height: 24px !important; background-color: rgb(255, 255, 255);">when the e- mail sending falls again in the spam box :(</pre></div><div><br></div><div><br><br><div><hr id="stopSpelling">From: daemoncesar@hotmail.com<br>To: amavis-users@amavis.org<br>Subject: amavisd-new + sa-learn = not working<br>Date: Sun, 15 Feb 2015 20:13:28 +0000<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr"><div>Hello !</div><div><br></div><div>The sa-learn command does not work in amavisd-new.</div><div><br></div><div><br></div><div>/etc/spamassassin/local.cf</div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">-------------------------------------</span></div><div><span style="font-size:12pt;">use_bayes 1</span></div><div>bayes_auto_learn 1</div><div>bayes_auto_expire 0</div><div>bayes_path /var/lib/amavis/.spamassassin</div><div>-------------------------------------</div><div><br></div><div>20-debian_defaults</div><div><span style="font-size:12pt;">--------------------------------------</span></div><div><span style="font-size:12pt;">$sa_spam_subject_tag = '***SPAM*** ';</span></div><div>$sa_tag_level_deflt  = 2.0;  # add spam info headers if at, or above that level</div><div>$sa_tag2_level_deflt = 6.31; # add 'spam detected' headers at that level</div><div>$sa_kill_level_deflt = 6.31; # triggers spam evasive actions</div><div>$sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not sent</div><div>--------------------------------------</div><div>...</div><div><br></div><div>command "<span style="font-size:12pt;"> </span><span style="font-size:12pt;">sa-learn --dbpath /var/lib/amavis/.spamassassin --ham *"</span></div><div><br></div><div>----------------------------------</div><div>root@intranet:/usr/local/postfix/mydomain.com/user@mydomain.com/cur# ls</div><div>1424025589.V801Ida6046M830986.intranet:2,ST  1424025594.M622625P2286V0000000000000801I0000000000DA605A_15.intranet,S=4819:2,S</div><div>root@intranet:/usr/local/postfix/mydomain/user@mydomain.com/cur# sa-learn --dbpath /var/lib/amavis/.spamassassin --ham *</div><div>Learned tokens from 1 message(s) (2 message(s) examined)</div><div>root@intranet:/usr/local/postfix/mydomain.com/user@mydomain.com/cur#</div><div>-----------------------------------</div><div><br></div><div>When sending again ... the email is SPAM again.</div><div><br></div><div>have tried sa-learn --sync</div><div><br></div><div>not working...</div><div><br></div><div><br></div>                                        </div></div></div></div>                                        </div></body>
</html>