Anyone ?<span></span><br><br>Le dimanche 26 avril 2015, Olivier CALVANO <<a href="mailto:o.calvano@gmail.com">o.calvano@gmail.com</a>> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi<br><br></div>i user amavisd with spam assassin and put into my config:<br><br>$sa_spam_subject_tag = '***Spam*** ';<br><br>@spam_subject_tag2_maps = read_hash('/etc/amavisd/amavisd_tag_by_domaine');<br>@spam_tag2_level_maps = read_hash('/etc/amavisd/amavisd_score_tag_by_domaine');<br>@spam_tag3_level_maps = read_hash('/etc/amavisd/amavisd_score_quarantine_by_domaine');<br>@spam_kill_level_maps = read_hash('/etc/amavisd/amavisd_score_delete_by_domaine');<br><br><br>/etc/amavisd/amavisd_tag_by_domaine:<br><br>.<a href="http://mydomaine1.com" target="_blank">mydomaine1.com</a> ***NON-SOLLICITE***UNSOLICITED***<br>.<a href="http://mydomaine2.com" target="_blank">mydomaine2.com</a> *****SPAM*****<br><br>/etc/amavisd/amavisd_score_tag_by_domaine<br>.<a href="http://mydomaine1.com" target="_blank">mydomaine1.com</a> 5.0<br>.<a href="http://mydomaine2.com" target="_blank">mydomaine2.com</a> 5.0<br><br>/etc/amavisd/amavisd_score_quarantine_by_domaine<br>.<a href="http://mydomaine1.com" target="_blank">mydomaine1.com</a> 9.9<br>.<a href="http://mydomaine2.com" target="_blank">mydomaine2.com</a> 9.2<br><br>/etc/amavisd/amavisd_score_delete_by_domaine<br>.<a href="http://mydomaine1.com" target="_blank">mydomaine1.com</a> 13.0<br>.<a href="http://mydomaine2.com" target="_blank">mydomaine2.com</a> 12.0<br><br><br></div>i want:<br><br></div>if spam hit <=4.9    ....  no tag<br></div>if spam hit > 5 and < score_quarantine_by_domaine put the spam_subject_tag2_maps<br></div>if spam hit >= score_quarantine_by_domaine and < score_delete_by_domaine put in quarantine<br></div>if spam hit >= score_delete_by_domaine delete the mail<br><br><br></div>my config is correct ?<br><br></div>thanks<br></div>olivier<br><br><div><div><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div></div></div>
</blockquote>