Merubah Score Spam di zimbra
Merubah Score Spam di zimbra karena 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.
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.
Langkah-langkah seperti berikut
1. Buka file amavisd.conf
nano /opt/zimbra/conf/amavisd.conf
2. Ubah Nilainya menjadi $sa_tag2_level_deflt = 9.0;
$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
nano /opt/zimbra/conf/amavisd.conf.in
5. Ubah Nilainya menjadi $sa_tag2_level_deflt = 9.0;
Jadikan Komentar
##$sa_tag2_level_deflt = %%range VAR:zimbraSpamTagPercent 0 20%%; # add 'spam detected' headers at that level
Tambahkan pada baris dibawahnya
$sa_tag2_level_deflt = 9.0;
Lengkapnya sebagai berikut
$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
#su - zimbra $zmamavisdctl stop && zmamavisdctl start
8. Cek kembali dengan mengirim ulang email.
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