walkeith 发表于 2013-4-26 22:24:43

Powermta的config文件里的参数配置,求助

请教多位大神后,终于出现powermta的界面,然后问题是Pmta的config里都有哪些参数要配置啊,有经验的同学给点提示

河小马 发表于 2013-4-26 22:33:46

<smtp-pattern-list backoff>
#
# 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
#
#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 The Spamhaus Project 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
</smtp-pattern-list>
#
# http://postmaster.info.aol.com/faq/m...q.html#msgconn
<domain aol.com>
max-smtp-out 20
max-msg-per-connection 450
max-rcpt-per-message 100
# smtp-pattern-list backoff
# backoff-to-normal-after 2h #added in v3.5
# backoff-notify [email protected]
# backoff-max-msg-per-hour 600 # Use with PowerMTA 3.2
# backoff-max-msg-rate 600/h # Use with PowerMTA 3.5
# backoff-retry-after 30m
</domain>
#
<domain yahoo.com>
max-smtp-out 20
max-msg-per-connection 20
smtp-greeting-timeout 1m # added in v3.2r17
mx-connection-attempts 10 # added in v3.2r16
# smtp-pattern-list backoff
# backoff-to-normal-after 2h #added in v3.5
# backoff-max-msg-per-hour 600 # Use with PowerMTA 3.2
# backoff-max-msg-rate 600/h # Use with PowerMTA 3.5
# backoff-retry-after 30m
# backoff-notify [email protected]
</domain>
#
<domain hotmail.com>
max-smtp-out 20
max-msg-per-connection 100
421-means-mx-unavailable yes
# smtp-pattern-list backoff
# backoff-to-normal-after 2h #added in v3.5
# backoff-max-msg-per-hour 600 # Use with PowerMTA 3.2
# backoff-max-msg-rate 600/h # Use with PowerMTA 3.5
# backoff-retry-after 30m
# backoff-notify [email protected]
</domain>
#
<domain msn.com>
max-smtp-out 20
max-msg-per-connection 100
# smtp-pattern-list backoff
# backoff-to-normal-after 2h #added in v3.5
# backoff-max-msg-per-hour 600 # Use with PowerMTA 3.2
# backoff-max-msg-rate 600/h # Use with PowerMTA 3.5
# backoff-retry-after 30m
# backoff-notify [email protected]
</domain>
#
<domain cox.net>
max-smtp-out 5
</domain>
#
<domain att.net>
max-smtp-out 2
</domain>
#
# Comcast.net Security - Comcast PostMaster Page
# Comcast.net Feedback Loop - Feedback Loop Request Form
<domain comcast.net>
max-smtp-out 10
max-msg-per-connection 1000
</domain>
#
<domain adelphia.net>
max-smtp-out 4
# smtp-pattern-list backoff
</domain>
#
#
#http://security.rr.com/RRUnblockRequest.htm
<domain [*.]rr.com>
#For new IPs
max-msg-per-hour 1000
#
# For use with v3.2r23
# rate-limit-min-granularity 1m
#
#For whitelisted IPs
# max-msg-per-hour 10000
# smtp-pattern-list backoff
</domain>
#
<domain bellsouth.net>
max-smtp-out 10
max-msg-per-connection 1
retry-after 5m
</domain>
#
<domain mac.com>
ignore-chunking yes
</domain>
#

#
# Excite
#
# We have heard reports that Excite.com limits senders to 1,000 emails in a 10 minute period per IP during the day, but is unlimited between 1:00am to 5:00am MDT. While we cannot confirm these reports, here is what can be done in PowerMTA if you are having trouble sending to excite.com. Use the following settings:
#
#
<domain excite.com>
# backoff-max-msg-per-hour 600 # Use with PowerMTA 3.2
# backoff-max-msg-rate 600/h # Use with PowerMTA 3.5
</domain>
#
#The setting “backoff-max-msg-per-hour” will cause PowerMTA to take the total amount, divide it by 12, and send no more than that amount in 5 minute intervals over the hour. The number of recent delivery attempts is not kept in persistent storage, so re-starting PowerMTA resets the limit, possibly causing it to actually be exceeded. You may want to set it a little lower than 6000 to give yourself a buffer.
##Now for the tricky part.
#You will need to set the server to run the command “pmta set queue --mode=normal excite.com/*” every night at 1am MDT (cron job in Linux or scheduled task in Windows). This will cause PowerMTA to go into normal mode, and send email in an unrestricted manner. At 5am MDT, schedule the command “pmta set queue --mode=backoff excite.com/*” to run. This will put all excite.com email in backoff mode, and the above settings will go back into place.

#
# Comcast
#
#From the following page:
#Mail to Comcast is queued and I see RL000001 in my mail logs. What does this mean?
#It seems that Comcast has added some rate limiting based on your SenderScore (https://www.senderscore.org/).
#As such, The following configuration can be used (in conjunction with max-msg-per-connection and max-smtp-out from above), changing the rate based on your score and the data from Comcast's site:
#
<domain comcast.net>
max-msg-rate 3600/h
</domain>
#

河小马 发表于 2013-4-26 22:35:38

看不懂的自己去看manual

warm up的话把各项调的低点。。

yincthh 发表于 2013-4-26 22:40:21

本帖最后由 yincthh 于 2013-4-26 22:42 编辑


设置的速度都好慢。难道是每个ip单独限制的。
顺带问下多ip怎末绑。
我现在是一个ip一个stmp-source。一个vmta里是1个域名10个ip轮着。

河小马 发表于 2013-4-26 22:44:30

yincthh 发表于 2013-4-26 22:40 static/image/common/back.gif
设置的速度都好慢。难道是每个ip单独限制的。
顺带问下多ip怎末绑。
我现在是一个ip一个stmp-source。一个 ...

pmta 我不怎么用,懂的不多

但是你可以把127个 IP 放在一个vmta 里面的

walkeith 发表于 2013-4-26 23:26:50

河小马 发表于 2013-4-26 22:35 static/image/common/back.gif
看不懂的自己去看manual

warm up的话把各项调的低点。。

谢了河马,好像是慢速和正常两种模式,后面是各大邮箱的发信速率?具体的只能去翻手册了,好厚的一本

如果可以,还想想看看其他同学的想法,相关的都可以

walkeith 发表于 2013-4-26 23:31:56

yincthh 发表于 2013-4-26 22:40 static/image/common/back.gif
设置的速度都好慢。难道是每个ip单独限制的。
顺带问下多ip怎末绑。
我现在是一个ip一个stmp-source。一个 ...

yincthh有用pmta?还望多多分享相关的参考资料或者提供一些建议

blackhat 发表于 2013-4-27 00:49:09

最近大家都开始玩PMTA了哈

河小马 发表于 2013-4-27 00:51:24

都已经给你贴出来了你还不信。。。。。

jackywang 发表于 2013-4-27 10:07:28

MARK,POWERMTA我也要装

foxconndmd 发表于 2013-4-30 17:16:53

研究下pmta和exim、postfix有什么不同。。。

ssqqr 发表于 2013-5-5 22:13:24

foxconndmd 发表于 2013-4-30 17:16 static/image/common/back.gif
研究下pmta和exim、postfix有什么不同。。。

exim,postfix 是免费的,powermta是收费的,但是不知道价格是多少

flow 发表于 2013-8-23 14:28:09

yincthh 发表于 2013-4-26 22:40 static/image/common/back.gif
设置的速度都好慢。难道是每个ip单独限制的。
顺带问下多ip怎末绑。
我现在是一个ip一个stmp-source。一个 ...

一个域名10个IP轮着,成本是不是很高

accubest 发表于 2013-8-26 14:07:23

64 行
少了个符号 /

fei 发表于 2013-10-30 01:38:31

国外策略那么细呀,有没有针对国内qq,163等的策略?
页: [1] 2
查看完整版本: Powermta的config文件里的参数配置,求助