Spam Quarantine/Delete ?

Olivier CALVANO o.calvano at gmail.com
Sun Apr 26 07:54:47 CEST 2015


Hi

i user amavisd with spam assassin and put into my config:

$sa_spam_subject_tag = '***Spam*** ';

@spam_subject_tag2_maps = read_hash('/etc/amavisd/amavisd_tag_by_domaine');
@spam_tag2_level_maps =
read_hash('/etc/amavisd/amavisd_score_tag_by_domaine');
@spam_tag3_level_maps =
read_hash('/etc/amavisd/amavisd_score_quarantine_by_domaine');
@spam_kill_level_maps =
read_hash('/etc/amavisd/amavisd_score_delete_by_domaine');


/etc/amavisd/amavisd_tag_by_domaine:

.mydomaine1.com ***NON-SOLLICITE***UNSOLICITED***
.mydomaine2.com *****SPAM*****

/etc/amavisd/amavisd_score_tag_by_domaine
.mydomaine1.com 5.0
.mydomaine2.com 5.0

/etc/amavisd/amavisd_score_quarantine_by_domaine
.mydomaine1.com 9.9
.mydomaine2.com 9.2

/etc/amavisd/amavisd_score_delete_by_domaine
.mydomaine1.com 13.0
.mydomaine2.com 12.0


i want:

if spam hit <=4.9    ....  no tag
if spam hit > 5 and < score_quarantine_by_domaine put the
spam_subject_tag2_maps
if spam hit >= score_quarantine_by_domaine and < score_delete_by_domaine
put in quarantine
if spam hit >= score_delete_by_domaine delete the mail


my config is correct ?

thanks
olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20150426/7c2072ab/attachment.html>


More information about the amavis-users mailing list