工作中~
分类:
2008-08-28 10:09:07
逛论坛时发现的一帖,关于Spamassassin中配置CBL的。还不错 这个配置是把CBL检查配置到SA评分系统里,作分值的综合参考,而不是邮件系统里的直接reject掉。 在spam的配置文档里改就可以。etc/spamassassin/local.cf CODE |
#最佳推荐之使用CBL-# header RCVD_IN_CBLLESS eval:check_rbl('cblless', 'cblless.anti-spam.org.cn.', '127.0.8.5') describe RCVD_IN_CBLLESS Received via a relay in cblless.anti-spam.org.cn tflags RCVD_IN_CBLLESS net score RCVD_IN_CBLLESS 3.5 #最佳推荐之使用CML# header RCVD_IN_CML eval:check_rbl('cml', 'cml.anti-spam.org.cn.', '127.0.8.1') describe RCVD_IN_CML Received via a white list relay in cml.anti-spam.org.cn tflags RCVD_IN_CML net nice score RCVD_IN_CML -20.0 #header RCVD_IN_CBL eval:check_rbl('cbl', 'cbl.anti-spam.org.cn.') #describe RCVD_IN_CBL Received via a relay in cbl.anti-spam.org.cn #tflags RCVD_IN_CBL net #score RCVD_IN_CBL 2.0 #header RCVD_IN_CBL_DIALUP eval:check_rbl('cdl-notfirsthop', 'cdl.anti-spam.org.cn.', '127.0.8.4') #describe RCVD_IN_CBL_DIALUP CBL: dialup sender did non-local SMTP #tflags RCVD_IN_CBL_DIALUP net #score RCVD_IN_CBL_DIALUP 1.5 #header RCVD_IN_CBL_PLUS eval:check_rbl('cblplus', 'cblplus.anti-spam.org.cn.') #describe RCVD_IN_CBL_PLUS Received via a relay in cblplus.anti-spam.org.cn #tflags RCVD_IN_CBL_PLUS net #score RCVD_IN_CBL_PLUS 1.0 |