<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Because There other spamassassin rules reduce the final score.<br><br> </div><div><br>Le 4 mars 2016 à 05:16, Indunil Jayasooriya <<a href="mailto:indunil75@gmail.com">indunil75@gmail.com</a>> a écrit :<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><br><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div></div><div>I create my rules in a file <a href="http://file.cf" target="_blank">file.cf</a> in /etc/mail/spamassassin/  directory and i reload amavis and it s ok normaly</div><div><br></div></div></blockquote><div>I have CentOS 6 X running. <br><br></div><div>My location is different. <br><br></div><div>I need files in /var/lib/spamassassin/3.003001/updates_spamassassin_org directory. <br><br>I created a file like this .<br><br><br>/var/lib/spamassassin/3.003001/updates_spamassassin_org/<a href="http://custom.cf" target="_blank">custom.cf</a><br><a href="http://custom.cf" target="_blank"></a> <br><div>my /var/lib/spamassassin/3.003001/updates_spamassassin_org/<a href="http://custom.cf" target="_blank">custom.cf</a> file contains this. </div><br><br>#My custom rule<br><br>#body LOCAL_MYTHING /\b(mything)\b/i<br>#describe LOCAL_MYTHING Email contains the word mything.<br>#score LOCAL_MYTHING 9.0 <br><br>body LOCAL_SEXTOYS /\b(sextoys)\b/i<br>describe LOCAL_SEXTOYS Email contains the word sextoys.<br>score LOCAL_SEXTOYS 9.0<br><br><br><br></div><div>and added below line <br><br>include updates_spamassassin_org/<a href="http://custom.cf" target="_blank">custom.cf</a><br><br></div><div>in  /var/lib/spamassassin/3.003001/<a href="http://updates_spamassassin_org.cf" target="_blank">updates_spamassassin_org.cf</a> file.<br><br><br></div><div><br></div><div>and restarted amavisd . <br><br></div><div>Now, When I type exactly the word sextoys in body. this will be BLOCKED by amavisd. <br><br></div><div>pls see the log. <br><br> amavis[16752]: (16752-05) Blocked SPAM {DiscardedInbound,Quarantined}<br><br></div><div>it gives hits   Hits: 6.552 .<br><br></div><div>I am pretty happy about it.  Now the problem is it gets 6 PLUS score when my rule says 9.0 <br><br></div><div>i.e - score LOCAL_SEXTOYS 9.0<br><br></div><div>Any idea on this.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div></div><div>Amavis add local_sex in message header?</div></div></blockquote><div><br></div><div>When Can I find this in amavisd?<br></div><div><br> <br>Hope to hear from you<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><br><div> </div><div><div><div><br><br></div><blockquote type="cite"><div><div dir="ltr"><div><br><div dir="ltr"><br></div><div>
</div></div></div>
</div></blockquote></div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr">cat /etc/motd<br><br>Thank you<br>Indunil Jayasooriya <br><a href="http://www.theravadanet.net/" target="_blank">http://www.theravadanet.net/</a><br><a href="http://www.siyabas.lk/sinhala_how_to_install.html" target="_blank">http://www.siyabas.lk/sinhala_how_to_install.html</a>   -  Download Sinhala Fonts<br><br></div></div>
</div></div>
</div></blockquote></body></html>