AdvertCN - 广告中国

 找回密码
 立即注册

QQ登录

只需一步,快速开始

Binom
 谷歌+Bing+TT+MSN官方代理 
⚡️按条S5代理⚡️静态⚡️独享⚡️5G⚡️最干净<Wifi住宅+5G移动>IP代理指纹浏览器,就用AdsPower
Mediabuy⚡️玩家开户首选【鲁班跨境通-自助充值转账】FB/GG/TT❤️官方免费开户Affiliate 全媒体流量资源⚡️
Taboola/Outbrain /Bing⚡️一级代理开户投流-7*24h❤️人工在线【官方】❤️搜索套利广告开户独立站⚡️开户投放
DuoPlus专注打造跨境电商云手机E.PN 虚拟卡BINOM TRACKER 60% OFF!比Adplexity还好用的Spy工具
MediaGo+Taboola+Ob开户百度国际MediaGo⚡️让产品狂奔全球百度国际,高点击转化,快速放量百度国际MediaGo,独家原生流量
ADPLEXITY + ADVERTCN7200W全球动态不重复住宅IP代理虚拟信用卡+独立站收款全球虚拟卡, 支持U充值
Facebook 批量上广告尤里改 - FB 稳定投放免费黑五教程(持续更新、欢迎交流)FB 三不限源头 - 自助下户充值转款
各种主页、账单户、BM户(优势)⚡️个人户,bm户不限额,账单户一手BM分享户不限额9Proxy ⚡️ $0.04/IP, 无限带宽
FB二三解0.1元一个虚拟卡|PTM星际卡FB专用虚拟卡Google、Bing官方总代  联盟流量开户
FB账号资源/稳定靠谱/运行5年啦FB开户代投/三不限/白名单fb耐用号0.01一个fb账号官方合作商
搜索套利开户❤️Bigo/Kwai/MediagoFB资源,账单户,分享户,国内一手FB企业户BM户账单户源头广告位出租
查看: 10974|回复: 7

自己配置的pmta config文件给提提意见啊

[复制链接]

8

主题

49

广告币

97

积分

初级会员

Rank: 2

积分
97

社区QQ达人

发表于 2015-4-16 23:35:34 | 显示全部楼层 |阅读模式
直接上代码,有什么不足的楼下补充哦
  1. #
  2. # $Id: config 2015-03-24 16:00:00 Jack $
  3. # Sample PowerMTA configuration file
  4. # PowerMTA 多个虚拟 PMTA config 的配置文件实例

  5. #
  6. # E-mail address for mailer's administrator (please specify!)
  7. #
  8. postmaster [email protected]
  9. domain-key lizi,*,/etc/pmta/dkim/lizi.pem

  10. #
  11. # Settings per source IP address (for incoming SMTP connections)
  12. #
  13. Pickup /var/www/tmp /var/www/badmail

  14. <source 127.0.0.1>
  15.     always-allow-relaying yes   # allow feeding from 127.0.0.1
  16.     process-x-virtual-mta yes   # allow selection of a virtual MTA
  17.     max-message-size 0          # 0 implies no cap, in bytes
  18.     smtp-service yes            # allow SMTP service
  19.     allow-mailmerge yes
  20. </source>

  21. <source 8.8.8.8>           # phplist or oempro installed
  22.     always-allow-relaying yes   # allow feeding from mailer.mydomain.com
  23.     process-x-virtual-mta yes   # allow selection of a virtual MTA
  24.     max-message-size 0          # 0 implies no cap, in bytes
  25.     smtp-service yes            # allow SMTP service
  26.     hide-message-source true
  27.     remove-header Received
  28.     allow-mailmerge yes
  29. </source>


  30. <source 0/0>                    # matches all
  31.     log-connections no
  32.     log-commands    no          # WARNING: verbose!
  33.     log-data        no          # WARNING: even more verbose!
  34.     allow-unencrypted-plain-auth yes
  35.     default-virtual-mta mta-pool
  36.     process-x-virtual-mta yes
  37.     smtp-service yes
  38.     always-allow-api-submission yes
  39. </source>


  40. <virtual-mta mta1>
  41.     auto-cold-virtual-mta 8.8.8.8 yourdomain.com # config multiple domains/IPs
  42.         host-name yourdomain.com
  43.     domain-key lizi,*,/etc/pmta/dkim/lizi.pem
  44.     <domain *>
  45.         max-cold-virtual-mta-msg 100/day
  46.                 dk-sign yes
  47.         dkim-sign yes
  48.         dkim-identity @yourdomain.com
  49.     </domain>
  50.     smtp-source-host 8.8.8.8 yourdomain.com
  51. </virtual-mta>

  52. <virtual-mta-pool mta-pool>
  53.     virtual-mta mta1
  54. </virtual-mta-pool>

  55. smtp-port 587

  56. #
  57. # SMTP users (authenticated via SMTP AUTH)
  58. #
  59. #<smtp-user API>
  60. #    password "changeme"
  61. #</smtp-user>

  62. <smtp-user username>
  63.     password password
  64.     source {auth}
  65. </smtp-user>


  66. <source {auth}>
  67.     always-allow-relaying yes    # allow feeding for defined users
  68.     process-x-virtual-mta yes    # allow selection of a VirtualMTA
  69.     max-message-size 0           # 0 implies no cap, in bytes
  70.     smtp-service yes             # allow SMTP service
  71.     require-auth true
  72.     default-virtual-mta mta-pool
  73. </source>

  74. #
  75. # Settings per outgoing domain
  76. #
  77. #<domain discard.port25.com>
  78. #    max-smtp-out    800
  79. #    route           [192.168.0.1]:2525  # bypasses DNS resolution
  80. #</domain>
  81. #
  82. #<domain test.port25.com>
  83. #    max-smtp-out    1
  84. #    log-connections yes
  85. #    log-commands    yes     # WARNING: verbose!
  86. #    log-resolution  no      # WARNING: verbose!
  87. #    log-data        no      # WARNING: even more verbose!
  88. #</domain>

  89. #
  90. # "{gmImprinter}" is a special queue used for imprinting Goodmail tokens.
  91. #
  92. <domain {gmImprinter}>
  93.     max-events-recorded 150
  94.     log-messages yes
  95.     log-data no              # extremely verbose, for debugging only
  96.     retry-after 15s
  97. </domain>

  98. <domain *>
  99.     max-smtp-out    5           # max. connections *per domain*
  100.     bounce-after    4d12h       # 4 days, 12 hours
  101.     retry-after     60m         # 60 minutes
  102.     max-msg-rate 100/h
  103.     max-msg-per-connection 20
  104.     max-errors-per-connection 10
  105.     smtp-greeting-timeout 1m                # added in v3.2r17
  106.     mx-connection-attempts 3                # added in v3.2r16
  107.     smtp-pattern-list backoff
  108.     backoff-to-normal-after 2h              # added in v3.5
  109.     backoff-max-msg-rate 50/h              # Use with PowerMTA 3.5
  110.     backoff-retry-after 90m
  111.     #backoff-notify [email protected]
  112.     dk-sign yes
  113.     dkim-sign yes
  114. </domain>

  115. #
  116. # Goodmail imprinter configuration
  117. #
  118. #<gm-imprinter>
  119. #    account-id ID               # replace with value from mailcenter
  120. #    imprinter-id ID             # replace with value from mailcenter
  121. #    imprinter-password PW       # replace with value from mailcenter
  122. #
  123. #    # If the directives below are not specified, defaults are picked as
  124. #    # described in the Goodmail documentation
  125. #
  126. #    default-token-class 1       # optionally set as appropriate
  127. #    default-content-type 1      # optionally set as appropriate
  128. #    default-payer-id ID         # optionally set as appropriate
  129. #    default-obo-id ID           # optionally set as appropriate
  130. #</gm-imprinter>


  131. #
  132. # Port used for HTTP management interface
  133. #
  134. http-mgmt-port 80

  135. #
  136. # IP addresses allowed to access the HTTP management interface, one
  137. # per line
  138. #
  139. http-access 127.0.0.1 monitor
  140. http-access 0/0 admin

  141. #
  142. # Synchronize I/O to disk after receiving the message.  'false' yields
  143. # higher performance, but the message may be lost if the system crashes
  144. # before it can write the data to disk.
  145. #
  146. sync-msg-create false

  147. #
  148. # Synchronize I/O to disk after updating the message (e.g., to mark recipients
  149. # handled).  'false' yields higher performance, but if the system crashes
  150. # before it can write the data to disk, some recipients may receive multiple
  151. # copies of a message.
  152. #
  153. sync-msg-update false

  154. #
  155. # Whether to run the PowerMTA deamon as root
  156. #
  157. run-as-root no

  158. #
  159. # WARNING -- changing the settings below will probably break
  160. #            RPM installation, logrotate, etc.

  161. #
  162. # Logging file name
  163. #
  164. log-file /var/log/pmta/log          # logrotate is used for rotation

  165. #
  166. # Accounting file(s)
  167. #
  168. <acct-file /var/log/pmta/acct.csv>
  169. #    move-to /opt/myapp/pmta-acct   # configure as fit for your application
  170.     move-interval 5m
  171.     max-size 50M
  172. </acct-file>

  173. #
  174. # Spool directories
  175. #
  176. spool /var/spool/pmta

  177. # EOF

  178. <smtp-pattern-list backoff>
  179. #
  180. # A QUEUE IN BACKOFF MODE WILL SEND MORE SLOWLY
  181. # To place a queue back into normal mode, a command similar
  182. # to one of the following will need to be run:
  183. # pmta set queue mode=normal yahoo.com
  184. # or
  185. # pmta set queue mode=normal yahoo.com/vmta1
  186. #
  187. # To use backoff mode, uncomment individual <domain> directives
  188. #
  189. #Yahoo Errors
  190. reply /421 .* Please try again later/ mode=backoff
  191. reply /421 Message temporarily deferred/ mode=backoff
  192. reply /VS3-IP5 Excessive unknown recipients/ mode=backoff
  193. reply /VSS-IP Excessive unknown recipients/ mode=backoff
  194. #
  195. # The following 4 Yahoo errors may be very common
  196. # Using them may result in high use of backoff mode
  197. #
  198. reply /[GL01] Message from/ mode=backoff
  199. reply /[TS01] Messages from/ mode=backoff
  200. reply /[TS02] Messages from/ mode=backoff
  201. reply /[TS03] All messages from/ mode=backoff
  202. #
  203. #Hotmail Errors
  204. reply /exceeded the rate limit/ mode=backoff
  205. reply /exceeded the connection limit/ mode=backoff
  206. reply /Mail rejected by Windows Live Hotmail for policy reasons/ mode=backoff
  207. #
  208. #Adelphia Errors
  209. reply /421 Message Rejected/ mode=backoff
  210. reply /Client host rejected/ mode=backoff
  211. reply /blocked using UCEProtect/ mode=backoff
  212. #
  213. #Road Runner Errors
  214. reply /Mail Refused/ mode=backoff
  215. reply /421 Exceeded allowable connection time/ mode=backoff
  216. reply /amIBlockedByRR/ mode=backoff
  217. reply /block-lookup/ mode=backoff
  218. reply /Too many concurrent connections from source IP/ mode=backoff
  219. #
  220. #General Errors
  221. reply /too many/ mode=backoff
  222. reply /Exceeded allowable connection time/ mode=backoff
  223. reply /Connection rate limit exceeded/ mode=backoff
  224. reply /refused your connection/ mode=backoff
  225. reply /try again later/ mode=backoff
  226. reply /try later/ mode=backoff
  227. reply /550 RBL/ mode=backoff
  228. reply /TDC internal RBL/ mode=backoff
  229. reply /connection refused/ mode=backoff
  230. reply /please see www.spamhaus.org/ mode=backoff
  231. reply /Message Rejected/ mode=backoff
  232. reply /refused by antispam/ mode=backoff
  233. reply /Service not available/ mode=backoff
  234. reply /currently blocked/ mode=backoff
  235. reply /locally blacklisted/ mode=backoff
  236. reply /not currently accepting mail from your ip/ mode=backoff
  237. reply /421.*closing connection/ mode=backoff
  238. reply /421.*Lost connection/ mode=backoff
  239. reply /421 *connection limit exceeded/ mode=backoff
  240. reply /476 connections from your host are denied/ mode=backoff
  241. reply /421 Connection cannot be established/ mode=backoff
  242. reply /421 temporary envelope failure/ mode=backoff
  243. reply /421 4.4.2 Timeout while waiting for command/ mode=backoff
  244. reply /450 Requested action aborted/ mode=backoff
  245. reply /550 Access denied/ mode=backoff
  246. </smtp-pattern-list>

  247. #
  248. # http://postmaster.info.aol.com/
  249. <domain aol.com>
  250.     max-smtp-out 3
  251.     max-msg-per-connection 20
  252.     smtp-pattern-list backoff
  253.     421-means-mx-unavailable yes
  254.     backoff-to-normal-after 4h              # added in v3.5
  255.     # backoff-notify [email protected]
  256.     backoff-max-msg-rate 20/h              # Use with PowerMTA 3.5
  257.     backoff-retry-after 120m
  258.     dk-sign yes
  259.     dkim-sign yes
  260. </domain>
  261. #
  262. <domain tom.com>
  263.     max-smtp-out 3
  264.     max-msg-per-connection 20
  265.     smtp-pattern-list backoff
  266.     421-means-mx-unavailable yes
  267.     backoff-to-normal-after 2h              # added in v3.5
  268.     backoff-max-msg-rate 20/h               # Use with PowerMTA 3.5
  269.     backoff-retry-after 120m
  270.     # backoff-notify [email protected]
  271.     dk-sign yes
  272.     dkim-sign yes
  273. </domain>
  274. #
  275. <domain yahoo.com>
  276.     max-smtp-out 3
  277.     max-msg-per-connection 20
  278.     smtp-greeting-timeout 1m                # added in v3.2r17
  279.     mx-connection-attempts 5                # added in v3.2r16
  280.     smtp-pattern-list backoff
  281.     backoff-to-normal-after 2h              # added in v3.5
  282.     backoff-max-msg-rate 50/h              # Use with PowerMTA 3.5
  283.     backoff-retry-after 90m
  284.     # backoff-notify [email protected]
  285.     dk-sign yes
  286.     dkim-sign yes
  287. </domain>
  288. #
  289. <domain gmail.com>
  290.     max-smtp-out 3
  291.     max-msg-per-connection 50
  292.     smtp-greeting-timeout 1m                # added in v3.2r17
  293.     mx-connection-attempts 5                # added in v3.2r16
  294.     smtp-pattern-list backoff
  295.     backoff-to-normal-after 2h              # added in v3.5
  296.     backoff-max-msg-rate 50/h              # Use with PowerMTA 3.5
  297.     backoff-retry-after 90m
  298.     # backoff-notify [email protected]
  299.     dk-sign yes
  300.     dkim-sign yes
  301. </domain>
  302. #
  303. <domain hotmail.com>
  304.     max-smtp-out 3
  305.     max-msg-per-connection 50
  306.     421-means-mx-unavailable yes
  307.     smtp-pattern-list backoff
  308.     backoff-to-normal-after 2h              # added in v3.5
  309.     backoff-max-msg-rate 50/h              # Use with PowerMTA 3.5
  310.     backoff-retry-after 90m
  311.     # backoff-notify [email protected]
  312.     dk-sign yes
  313.     dkim-sign yes
  314. </domain>
  315. #
  316. <domain msn.com>
  317.     max-smtp-out 3
  318.     max-msg-per-connection 50
  319.     smtp-pattern-list backoff
  320.     backoff-to-normal-after 2h              # added in v3.5
  321.     backoff-max-msg-rate 50/h              # Use with PowerMTA 3.5
  322.     backoff-retry-after 90m
  323.     # backoff-notify [email protected]
  324.     dk-sign yes
  325.     dkim-sign yes
  326. </domain>
  327. #
  328. <domain att.net>
  329.     max-smtp-out 2
  330.     dk-sign yes
  331.     dkim-sign yes
  332. </domain>
  333. #
  334. # may be outdated ?http://security.comcast.net/get-help/comcast-post-master-page.aspx
  335. # recommended usage ?http://postmaster.comcast.net/avoidblocks.html
  336. # http://feedback.comcast.net/
  337. <domain comcast.net>
  338.     dk-sign yes
  339.     dkim-sign yes
  340.     max-smtp-out 2
  341.     max-msg-per-connection 20
  342. </domain>
  343. #
  344. #
  345. # Excite
  346. #
  347. # 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:
  348. #
  349. #
  350. <domain excite.com>
  351.     dk-sign yes
  352.     dkim-sign yes
  353.     backoff-max-msg-rate 100/h              # Use with PowerMTA 3.5
  354. </domain>

  355. #
  356. #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.
  357. ##Now for the tricky part.
  358. #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.
  359. #
  360. # Comcast
  361. #
  362. #From the following page:
  363. #http://customer.comcast.com/Pages/FAQViewer.aspx?seoid=RL000001
  364. #It seems that Comcast has added some rate limiting based on your SenderScore (https://www.senderscore.org/).
  365. #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抯 site:
  366. #
  367. <domain comcast.net>
  368.     dk-sign yes
  369.     dkim-sign yes
  370.     max-msg-rate 100/h
  371. </domain>
  372. <domain dkimvalidator.com>
  373.     dk-sign yes
  374.     dkim-sign yes
  375.     max-msg-rate 50/h
  376. </domain>
复制代码



评分

参与人数 1广告币 +1 收起 理由
妖妖 + 1 赞一个!

查看全部评分

相关帖子
回复

使用道具 举报

1621

主题

2万

广告币

2万

积分

管理员

宇宙无敌河马天神

Rank: 9Rank: 9Rank: 9

积分
29734

社区QQ达人

发表于 2015-4-17 00:30:26 | 显示全部楼层
配置没有一成不变的

只有适合自己的,才是最好的
学会提问的艺术, 从小处入手, 忌大而空
AdvertCN电报群

我最喜欢用的工具
7200W全球动态不重复住宅IP代理
回复 支持 反对

使用道具 举报

69

主题

8636

广告币

8507

积分

版主

Rank: 7Rank: 7Rank: 7

积分
8507

社区QQ达人

发表于 2015-4-17 14:45:29 | 显示全部楼层
本帖最后由 blackhat 于 2015-4-17 14:47 编辑

一看就是到处拼凑的  没有自己的见地

说两个无关紧要的。

tom这个怎么配置都没有用,IP限制是死的。

aol 配置次要的,主要看发送的内容。

回复 支持 反对

使用道具 举报

4

主题

0

广告币

38

积分

初级会员

Rank: 2

积分
38
发表于 2015-4-29 10:03:48 | 显示全部楼层
这种配置网上到处都是,但不一定适合自己的,光有配置没多大用处,还得灵活运用,这才能做好EDM邮件营销,有个基础性的网站,邮件部落论坛,你可以去看看

点评

不要老是提邮件部落,真有本事的人不会出来做培训,真的  详情 回复 发表于 2015-7-11 17:12
回复 支持 反对

使用道具 举报

14

主题

57

广告币

191

积分

初级会员

Rank: 2

积分
191

社区QQ达人

发表于 2015-7-11 17:12:57 | 显示全部楼层
wahh 发表于 2015-4-29 10:03
这种配置网上到处都是,但不一定适合自己的,光有配置没多大用处,还得灵活运用,这才能做好EDM邮件营销, ...

不要老是提邮件部落,真有本事的人不会出来做培训,真的

点评

fei
对,纯拉客仔。为何不封此id,河马何在?  详情 回复 发表于 2015-7-12 13:59
回复 支持 反对

使用道具 举报

2

主题

101

广告币

332

积分

初级会员

Rank: 2

积分
332

社区QQ达人

发表于 2015-7-12 00:01:30 | 显示全部楼层
真正的email marketing 哪里是这个样子啊
回复 支持 反对

使用道具 举报

22

主题

97

广告币

381

积分

初级会员

Rank: 2

积分
381
发表于 2015-7-12 13:59:14 | 显示全部楼层
flow 发表于 2015-7-11 17:12
不要老是提邮件部落,真有本事的人不会出来做培训,真的

对,纯拉客仔。为何不封此id,河马何在?
回复 支持 反对

使用道具 举报

3

主题

1

广告币

10

积分

新手上路

Rank: 1

积分
10

社区QQ达人

发表于 2016-4-29 12:35:24 | 显示全部楼层
邮件部落? 我之前联系过站长,想加入VIP,但是他们站长不让我交费,先要答个问卷,说是怕我基础不够,不够级别跟他们交流。后来一忙就忘了交费,他们也从没催过。  个人感觉那个论坛有干货。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于我们|联系我们|DMCA|广告服务|小黑屋|手机版|Archiver|Github|网站地图|AdvertCN

GMT+8, 2024-12-22 10:08 , Processed in 0.056461 second(s), 20 queries , Gzip On, MemCache On.

Copyright © 2001-2023, AdvertCN

Proudly Operating in Hong Kong.

快速回复 返回顶部 返回列表