• 1 
瀏覽模式: 普通 | 列表

如果你的信件被Yahoo擋了可以去那裡反應

檢查IP是否被列入黑名單BL-black list

postfix 加上 postgrey 擋垃圾信件

PostGrey 是什麼
相對於黑名單 blacklist 及白名單 whitelist,postgrey 是一灰名單 greylist 的防廣告信機制。
它的作用是讓信件在第一次時就 reject,並記錄這段連線資料,等下次同樣的郵件再來第二次或第三次時再把它收下來,它的功效這時就很清楚了,正常的信件應該都會重試寄發尚未寄出的信。
一些觀念可參考
http://blog.t-times.net/ada/space/start/2006-12-25/1#對抗垃圾信,使用_Postgrey
http://linux.vbird.org/linux_server/0380mail.php#adv_postgrey

Fedora core 6

1.) 安裝
yum install postgrey

rpm -ql postgrey
/etc/postfix/postgrey_whitelist_clients
/etc/postfix/postgrey_whitelist_clients.local
/etc/postfix/postgrey_whitelist_recipients

[閱讀全文]

Quote: http://www.backup.idv.tw/viewtopic.php?t=1355&sid=6ee57bf59ea2be8537dc634f5abb342d
* 原理
Greylisting 的原理是:
在 SMTP server 傳回 error code 450 後,正常的 MTA (如 Sendmail、Postfix) 會在一段時間後重送,但發廣告信的軟體不會。
在全世界大部分的發廣告信軟體都還沒有抵制 Greylisting 前,我們可以利用這個想法,將廣告信與一般信件分隔開。
而在 Postfix 上的 implementation 叫做 Postgrey。

1.) 下載 postgrey-1.31.tar.gz,解開放至 /etc/postgrey
         http://postgrey.schweikert.ch/pub/postgrey-1.31.tar.gz

      解壓 postgrey-1.31.tar.gz
      mv postgrey-1.31 /etc/postgrey

2.) 安裝相關套件
         Perl (version >= 5.6.0) 
         Net::Server 
         IO::Multiplex 
         BerkeleyDB (Perl module) 

[閱讀全文]

標籤: spam exim postgrey

Postfix + 擋spam的一些機制

。DNSBL

smtpd_client_restrictions = reject_rbl_client sbl-xbl.spamhaus.org

      ref: http://plog.longwin.com.tw/post/1/493

   spamhaus官網: www.spamhaus.org

SBL: verified spam sources and spam operations (including spammers, spam gangs and spam support services), 
XBL: The Spamhaus Exploits Block List (XBL) is a realtime database of IP addresses of illegal 3rd party exploits, including open proxies (HTTP, socks, AnalogX, wingate, etc), worms/viruses with built-in spam engines, and other types of trojan-horse exploits.

   Quote: http://blog.gslin.org/archives/2006/10/27/849/

是一個在英國提供 DNSBL 服務的單位,主要提供兩份名單:SBL (Spamhaus Block List) 與 XBL (Exploits Block List)。SBL 列出了 Spam Source 的機器 (Direct UBE sources, verified spam services and ROKSO spammers)。而 XBL 則是列出被 crack 當作跳板的機器 (Illegal 3rd party exploits, including proxies, worms and trojan exploits)。
   查詢工具

[閱讀全文]

標籤: spam postfix

procmailrc


vi /home/cross/.procmailrc

# chmod o+w /var/log/procmail.log
LOGFILE=/var/log/procmail.log
LOGABSTRACT=all
VERBOSE=on

PATH=$PATH
SHELL=/bin/sh
#LANG=zh_TW.Big5
#LC_ALL=zh_TW.Big5

[閱讀全文]

Postfix + Amavisd-new + ClamAV + Spamassassin

CentOS 4

 

ClamAV

[1.] yum install clamav clamav-data clamav-update clamav-lib clamav-server

 

[2.] cd /usr/share/doc/clamav-server-xxx

    cp clamd.init /etc/init.d/clamd

      cp clamd.sysconfig /etc/sysconfig/clamd.clamd

      cp clamd.conf /etc/clamd.d/clamd.conf

 

      vi /etc/init.d/clamd

CLAMD_SERVICE=clamd 

    vi /etc/sysconfig/clamd.clamd

CLAMD_CONFIGFILE=/etc/clamd.d/clamd.conf

[閱讀全文]

標籤: spam postfix

  • 1