Merubah Score Spam di zimbra

Pagi ini saya dapat masalah pada email kantor yang masuk junk yang tidak bisa di tarik melalui thunderbird oleh user. Akhirnya di cek dulu email yang telah masuk junk. Buka thunderbird dan View Source email yang masuk ke junk. Ternyata yang di dapat email mendapatkan score tinggi. Seperti berikut tampilannya.

1
2
3
4
5
6
7
8
9
X-Spam-Flag: YES
X-Spam-Score: 7.531
X-Spam-Level: *******
X-Spam-Status: Yes, score=7.531 tagged_above=-10 required=6.6
tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, HTML_MESSAGE=0.001,
SUBJ_ALL_CAPS=1.506, T_FILL_THIS_FORM_SHORT=0.01, T_SURBL_MULTI1=0.01,
T_URIBL_BLACK_OVERLAP=0.01, URIBL_AB_SURBL=4.499, URIBL_BLACK=1.725,
URIBL_GREY=0.424, URIBL_OB_SURBL=0.122, URIBL_PH_SURBL=0.61,
URIBL_RHS_DOB=1.514] autolearn=no

X-Spam-Status: Yes. Karena email memiliki “X-Spam-Score: 7.531” Sedangkan Score Default “required=6.6″”. Akhirnya memutuskan untuk menaikkan Score spam defaultnya menjadi “required=6.6″”. Berikut Cara Merubahnya.

1. Buka file amavisd.conf

1
nano /opt/zimbra/conf/amavisd.conf

2. Ubah Nilainya menjadi $sa_tag2_level_deflt = 9.0;

1
2
3
4
5
$sa_tag_level_deflt = -10.0; # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 9.0; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 15.0; # triggers spam evasive actions
$sa_dsn_cutoff_level = 15.0; # spam level beyond which a DSN is not sent
$sa_quarantine_cutoff_level = 15.0; # spam level beyond which quarantine is off

3. Tekan crtl+o dan ctrl+x (untuk save file amavisd.conf)

4. Buka file amavisd.conf.in

1
nano /opt/zimbra/conf/amavisd.conf.in

5. Ubah Nilainya menjadi $sa_tag2_level_deflt = 9.0;
Jadikan Komentar

1
##$sa_tag2_level_deflt = %%range VAR:zimbraSpamTagPercent 0 20%%; # add 'spam detected' headers at that level

Tambahkan pada baris dibawahnya

1
$sa_tag2_level_deflt = 9.0;

Lengkapnya sebagai berikut

1
2
3
4
5
6
$sa_tag_level_deflt = -10.0; # add spam info headers if at, or above that level
##$sa_tag2_level_deflt = %%range VAR:zimbraSpamTagPercent 0 20%%; # add 'spam detected' headers at that level
$sa_tag2_level_deflt = 9.0;
$sa_kill_level_deflt = %%range VAR:zimbraSpamKillPercent 0 20%%; # triggers spam evasive actions
$sa_dsn_cutoff_level = %%range VAR:zimbraSpamKillPercent 0 20%%; # spam level beyond which a DSN is not sent
$sa_quarantine_cutoff_level = %%range VAR:zimbraSpamKillPercent 0 20%%; # spam level beyond which quarantine is off

6. Tekan crtl+o dan ctrl+x (untuk save file amavisd.conf.in)
7. restart amavisd

1
2
#su - zimbra
$zmamavisdctl stop && zmamavisdctl start

8. Cek kembali dengan mengirim ulang email.

1
2
3
4
5
6
7
8
9
X-Spam-Flag: YES
X-Spam-Score: 7.531
X-Spam-Level: *******
X-Spam-Status: Yes, score=7.531 tagged_above=-10 required=9
tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, HTML_MESSAGE=0.001,
SUBJ_ALL_CAPS=1.506, T_FILL_THIS_FORM_SHORT=0.01, T_SURBL_MULTI1=0.01,
T_URIBL_BLACK_OVERLAP=0.01, URIBL_AB_SURBL=4.499, URIBL_BLACK=1.725,
URIBL_GREY=0.424, URIBL_OB_SURBL=0.122, URIBL_PH_SURBL=0.61,
URIBL_RHS_DOB=1.514] autolearn=no

Selesai

Tagged with:

Leave a Reply

Your email address will not be published. Required fields are marked *