Allo, Saya udah install qmail-scanner + spamassassin + clamav, untuk email yang diterima sudah berhasil di scan dan masuk quarantine baik spam maupun virus. Tapi ada beberapa masalah yang belum saya solved. 1. Outgoing mail gak di scan, jadi kita kirim spam dari LAN ke luar tetep bisa. 2. sa-learn masih gak mau belajar dengan baik dan benar. Saya udah sa-learn --spam --showdot /var/spool/file.txt dimana file.txt itu adalah email spam yang tembus, tapi tetap aja email tersebut masih bisa masuk.
Saran ? qmail-smtpd/run #!/bin/sh # when QMAILQUEUE is set, all mail will be sent to the nominated script QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 15000000 \ /usr/local/bin/tcpserver \ -H -l kolab.kosmojaya.com \ -v -x /etc/tcp.smtp.cdb \ -c 20 -R -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /usr/local/bin/rblsmtpd -b -C \ ---- delete ---- /etc/tcp.smtp 64.228.127.:allow,RBLSMTPD="-Connections refused due to spam from freeamateurhotties.com" 154.20.94.:allow,RBLSMTPD="-Connections refused due to spam from freeamateurhotties.com" 209.151.132.:allow,RBLSMTPD="-Connections refused due to spam from freeamateurhotties.com" 216.18.85.:allow,RBLSMTPD="-Connections refused due to spam from freeamateurhotties.com" 202.152.31.233:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" # # Connections from localhost are allowed to relay # (because the WebMail server runs on localhost), # and obviously there is no point trying to perform an RBL check. 127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="" # #----------------------------------------------------------------- # ALLOW EVERYONE ELSE TO SEND US MAIL # # Everyone else can make connections to our server, # but not allowed to relay # RBL lookups are performed :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" ---- stop --- linux-suse1:~ # egrep -v ^$ /etc/mail/spamassassin/local.cf | egrep -v ^# required_score 4.5 rewrite_header Subject ***[SPAM]*** report_safe 0 use_pyzor 0 use_razor2 1 use_dcc 0 dcc_home /var/dcc skip_rbl_checks 0 rbl_timeout 3 score RCVD_IN_BL_SPAMCOP_NET 2 use_bayes 1 bayes_path /home/spamd/bayes bayes_file_mode 0666 bayes_min_ham_num 2 bayes_min_spam_num 2 bayes_auto_learn 1 bayes_auto_learn_threshold_nonspam -0.5 bayes_auto_learn_threshold_spam 11.2 auto_whitelist_path /var/spool/spamd/whitelist auto_whitelist_file_mode 0666 regards, -- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id -- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip, FAQ, dan info milis di http://linux.or.id/milis Tidak bisa posting? Baca: http://linux.or.id/problemmilis http://linux.or.id/tatatertibmilis