postfix可加上這份malware list阻擋含有惡意網站的信件
效果未知...
 HOW TO use MBL on Postfix:
 
因為是用BSD,寫了一下script讓它每天定時更新list

#!/bin/sh
cd /tmp
/usr/bin/fetch "http://www.malware.com.br/cgi/submit?action=list_postfix"

cat "/tmp/submit?action=list_postfix" > /usr/local/etc/postfix/body-deny

測試有無正常運作,從其他地方寄信測試
# cat /var/log/maillog |grep MBL
Apr  6 03:51:24 yyy postfix/cleanup[15218]: EE9B89B2: discard: body AV girl from xxx.xxx.xxx[192.168.1.1]; from=xxx@xxx.xxx.xxx to=yyy@yyy.yyy.yyy proto=ESMTP helo=<xxx.xxx.xxx>: MBL-80077


順便附上一個測試廣告信的網站
http://www.cloudmark.com/spampler/

文章標籤
全站熱搜
創作者介紹
創作者 darren2000 的頭像
darren2000

四個字 堅持到底

darren2000 發表在 痞客邦 留言(0) 人氣(48)