accubest 发表于 2013-8-28 19:41:52

在一个论坛看到印度人的PMTA config.dat 的部分设置

本帖最后由 accubest 于 2013-8-28 20:19 编辑

印度人写的,还是比较清晰。
代码一共5部分, ISP,BACK OFF, BOUNCE, OPTION, VMTA
其他三部分 , 有乱码(符号出现乱码)。
所以只取了back off 和 bounce.
仅作参考

############################################################################
# BEGIN: BACKOFF RULES
############################################################################

<smtp-pattern-list common-errors>
reply /generating high volumes of.* complaints from AOL/ mode=backoff
reply /Excessive unknown recipients - possible Open Relay/ mode=backoff
reply /^421 .* too many errors/ mode=backoff
reply /blocked.*spamhaus/ mode=backoff
reply /451 Rejected/ mode=backoff
</smtp-pattern-list>

<smtp-pattern-list blocking-errors>
#
# A QUEUE IN BACKOFF MODE WILL SEND MORE SLOWLY
# To place a queue back into normal mode, a command similar
# to one of the following will need to be run:
# pmta set queue --mode=normal yahoo.com
# or
# pmta set queue --mode=normal yahoo.com/vmta1
#
# To use backoff mode, uncomment individual <domain> directives
#
#AOL Errors
reply /421 .* SERVICE NOT AVAILABLE/ mode=backoff
reply /generating high volumes of.* complaints from AOL/ mode=backoff
reply /554 .*aol.com/ mode=backoff
reply /421dynt1/ mode=backoff
reply /HVU:B1/ mode=backoff
reply /DNS:NR/ mode=backoff
reply /RLY:NW/ mode=backoff
reply /DYN:T1/ mode=backoff
reply /RLY:BD/ mode=backoff
reply /RLY:CH2/ mode=backoff
#
#Yahoo Errors
reply /421 .* Please try again later/ mode=backoff
reply /421 Message temporarily deferred/ mode=backoff
reply /VS3-IP5 Excessive unknown recipients/ mode=backoff
reply /VSS-IP Excessive unknown recipients/ mode=backoff
#
# The following 4 Yahoo errors may be very common
# Using them may result in high use of backoff mode
#
reply /\ Message from/ mode=backoff
reply /\ Messages from/ mode=backoff
reply /\ Messages from/ mode=backoff
reply /\ All messages from/ mode=backoff
#
#Hotmail Errors
reply /exceeded the rate limit/ mode=backoff
reply /exceeded the connection limit/ mode=backoff
reply /Mail rejected by Windows Live Hotmail for policy reasons/ mode=backoff
reply /mail.live.com\/mail\/troubleshooting.aspx/ mode=backoff
#
#Adelphia Errors
reply /421 Message Rejected/ mode=backoff
reply /Client host rejected/ mode=backoff
reply /blocked using UCEProtect/ mode=backoff
#
#Road Runner Errors
reply /Mail Refused/ mode=backoff
reply /421 Exceeded allowable connection time/ mode=backoff
reply /amIBlockedByRR/ mode=backoff
reply /block-lookup/ mode=backoff
reply /Too many concurrent connections from source IP/ mode=backoff
#
#General Errors
reply /too many/ mode=backoff
reply /Exceeded allowable connection time/ mode=backoff
reply /Connection rate limit exceeded/ mode=backoff
reply /refused your connection/ mode=backoff
reply /try again later/ mode=backoff
reply /try later/ mode=backoff
reply /550 RBL/ mode=backoff
reply /TDC internal RBL/ mode=backoff
reply /connection refused/ mode=backoff
reply /please see http://www.spamhaus.org/ mode=backoff
reply /Message Rejected/ mode=backoff
reply /refused by antispam/ mode=backoff
reply /Service not available/ mode=backoff
reply /currently blocked/ mode=backoff
reply /locally blacklisted/ mode=backoff
reply /not currently accepting mail from your ip/ mode=backoff
reply /421.*closing connection/ mode=backoff
reply /421.*Lost connection/ mode=backoff
reply /476 connections from your host are denied/ mode=backoff
reply /421 Connection cannot be established/ mode=backoff
reply /421 temporary envelope failure/ mode=backoff
reply /421 4.4.2 Timeout while waiting for command/ mode=backoff
reply /450 Requested action aborted/ mode=backoff
reply /550 Access denied/ mode=backoff
reply /exceeded the rate limit/ mode=backoff
reply /421rlynw/ mode=backoff
reply /permanently deferred/ mode=backoff
reply /\d+\.\d+\.\d+\.\d+ blocked/ mode=backoff
reply /www\.spamcop\.net\/bl\.shtml/ mode=backoff
reply /generating high volumes of.* complaints from AOL/ mode=backoff
reply /Excessive unknown recipients - possible Open Relay/ mode=backoff
reply /^421 .* too many errors/ mode=backoff
reply /blocked.*spamhaus/ mode=backoff
reply /451 Rejected/ mode=backoff
</smtp-pattern-list>

############################################################################
# END: BACKOFF RULES
############################################################################



accubest 发表于 2013-8-28 19:43:20

##############################################################
# BEGIN: BOUNCE RULES
##############################################################

<bounce-category-patterns>
/spam/ spam-related
/junk mail/ spam-related
/blacklist/ spam-related
/blocked/ spam-related
/\bU\.?C\.?E\.?\b/ spam-related
/\bAdv(ertisements?)?\b/ spam-related
/unsolicited/ spam-related
/\b(open)?RBL\b/ spam-related
/realtime blackhole/ spam-related
/http:\/\/basic.wirehub.nl\/blackholes.html/ spam-related
/\bvirus\b/ virus-related
/message +content/ content-related
/content +rejected/ content-related
/quota/ quota-issues
/limit exceeded/ quota-issues
/mailbox +(is +)?full/ quota-issues
/\bstorage\b/ quota-issues
/(user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee) (has|has been|is)? *(currently|temporarily +)?(disabled|expired|inactive|not activated)/ inactive-mailbox
/(conta|usu.rio) inativ(a|o)/ inactive-mailbox
/Too many (bad|invalid|unknown|illegal|unavailable) (user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee)/ other
/(No such|bad|invalid|unknown|illegal|unavailable) (local +)?(user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee)/ bad-mailbox
/(user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee) +(\S+@\S+ +)?(not (a +)?valid|not known|not here|not found|does not exist|bad|invalid|unknown|illegal|unavailable)/ bad-mailbox
/\S+@\S+ +(is +)?(not (a +)?valid|not known|not here|not found|does not exist|bad|invalid|unknown|illegal|unavailable)/ bad-mailbox
/no mailbox here by that name/ bad-mailbox
/my badrcptto list/ bad-mailbox
/not our customer/ bad-mailbox
/no longer (valid|available)/ bad-mailbox
/have a \S+ account/ bad-mailbox
/\brelay(ing)?/ relaying-issues
/domain (retired|bad|invalid|unknown|illegal|unavailable)/ bad-domain
/domain no longer in use/ bad-domain
/domain (\S+ +)?(is +)?obsolete/ bad-domain
/denied/ policy-related
/prohibit/ policy-related
/rejected/ policy-related
/refused/ policy-related
/allowed/ policy-related
/banned/ policy-related
/policy/ policy-related
/suspicious activity/ policy-related
/bad sequence/ protocol-errors
/syntax error/ protocol-errors
/\broute\b/ routing-errors
/\bunroutable\b/ routing-errors
/\bunrouteable\b/ routing-errors
/^2.\d.\d/ success
/^\.1\.1/ bad-mailbox
/^\.1\.2/ bad-domain
/^\.3\.5/ bad-configuration
/^\.4\.1/ no-answer-from-host
/^\.4\.2/ bad-connection
/^\.4\.4/ routing-errors
/^\.4\.6/ routing-errors
/^\.4\.7/ message-expired
/^\.7\.1/ policy-related
// other # catch-all
</bounce-category-patterns>

##############################################################
# END: BOUNCE RULES
##############################################################

大军 发表于 2013-8-28 19:50:12

太高端了,只能说不明觉厉。

bulk8 发表于 2013-8-28 21:55:53

看后长进不少哈,谢谢分享

TMM 发表于 2013-8-28 22:21:38

bulk8 发表于 2013-8-28 21:55 static/image/common/back.gif
看后长进不少哈,谢谢分享

真的长进不少?

河小马 发表于 2013-8-29 01:48:41

this is the default config file

blackhat 发表于 2013-8-29 09:29:58

对啊 这个是默认就这样子的...

bulk8 发表于 2013-8-29 10:02:24

:L,后面一段还真在default的配置文件中找到了,不过前面的好象没有发现,不过这不重要,重要的是我真的学到了不少!

accubest 发表于 2013-8-29 10:51:29

看到了BOUNCE 是默认的。呵呵
版主删帖?
要么 我把 他MTA的 拿来参考下?

他的配置不能收信。

bulk8 发表于 2013-8-29 11:01:33

:lol你肯定只能拿来参考哈,但他的virtual-mta部分真心不错,至少对于新手来说是这样的!你如果看明白了他的配置对于你来说应该也要长进不少吧!

accubest 发表于 2013-8-29 11:05:18

:lol   他标注的很清晰

accubest 发表于 2013-8-29 11:05:51

bulk8你 Q多少加个

yincthh 发表于 2013-8-29 15:17:50

accubest 发表于 2013-8-29 10:51 static/image/common/back.gif
看到了BOUNCE 是默认的。呵呵
版主删帖?
要么 我把 他MTA的 拿来参考下?


谁的配置都不能收信

accubest 发表于 2013-8-29 15:47:58

哈 PMTA是个奉献型的软件啊只出不进

snowdown 发表于 2015-2-6 13:37:56

挺长的,收藏一下晚上看
页: [1] 2
查看完整版本: 在一个论坛看到印度人的PMTA config.dat 的部分设置