本帖最后由 xiaomi 于 2014-9-26 20:15 编辑
这几天试着装了下 powerMTA, 在配置文件上面折腾了很久,不知道哪里出错了 , 总是提示 smtp 服务器验证失败。
有哪位前辈 空了帮忙看下
配置文件如下, 拜谢
#
# $Id: config.dat 14068 2012-08-13 13:51:15Z avinash $
# Sample PowerMTA configuration file
#
#
# E-mail address for mailer's administrator (please specify!)
#
#postmaster [email protected]
#
# IP address(es) and port(s) on which to listen for incoming SMTP connections
#
smtp-listener 0/0:25 # listens on all local IPs
#
# Settings per source IP address (for incoming SMTP connections)
#
<source 127.0.0.1>
always-allow-relaying yes # allow feeding from 127.0.0.1
process-x-virtual-mta yes # allow selection of a virtual MTA
max-message-size unlimited
smtp-service yes # allow SMTP service
</source>
<source 0/0> # matches all
log-connections no
log-commands no # WARNING: verbose!
log-data no # WARNING: even more verbose!
</source>
<source {auth}>
always-allow-relaying yes
</source>
<source 103.242.1.193>
always-allow-relaying yes # allow feeding from 127.0.0.1
process-x-virtual-mta yes # allow selection of a virtual MTA
max-message-size 0 # 0 implies no cap, in bytes
smtp-service yes # allow SMTP service
remove-header Received
</source>
<virtual-mta pin4u>
auto-cold-virtual-mta 103.242.1.193 pin4u.info
<domain *>
max-cold-virtual-mta-msg 1000/day
</domain>
domain-key dkim, pin4u.info, c:/pmta/keys/k1.pin4u.info.prv
host-name pin4u.info
</virtual-mta>
<virtual-mta-pool pool>
virtual-mta pin4u
</virtual-mta-pool>
<smtp-user pin4u>
password kaka
source {auth}
</smtp-user>
#
# SMTP users (authenticated via SMTP AUTH)
#
#<smtp-user API>
# password "changeme"
#</smtp-user>
#
# Settings per outgoing domain
#
#<domain discard.port25.com>
# max-smtp-out 800
# route [192.168.0.1]:2525 # bypasses DNS resolution
#</domain>
#
#<domain test.port25.com>
# max-smtp-out 1
# log-connections yes
# log-commands yes # WARNING: verbose!
# log-resolution no # WARNING: verbose!
# log-data no # WARNING: even more verbose!
#</domain>
<domain *>
max-smtp-out 20 # max. connections *per domain*
bounce-after 4d12h # 4 days, 12 hours
retry-after 10m # 10 minutes
</domain>
#
# Port used for HTTP management interface
#
http-mgmt-port 8080
#
# IP addresses allowed to access the HTTP management interface, one
# per line
#
#http-access 127.0.0.1 monitor
http-access ::1 monitor
#http-access 10.1.0.10 none
#http-access 10.1.0/24 admin
http-access 127.0.0.1 admin
http-access 118.112.111.58 admin
#http-access 222.210.168.14 admin
#http-access 118.112.102.90 admin
http-access 255.255.255.255/0 admin
#
# Logging file
#
log-file log\pmta.log
#
# Accounting file(s)
#
<acct-file log\acct.csv>
# move-to c:\myapp\pmta-acct # configure as fit for your application
move-interval 5m
max-size 50M
delete-after 8d
</acct-file>
#
# Spool directories
#
<spool spool>
deliver-only no
</spool>
# EOF
host-name pin4u.info
smtp 账号 和密码 [email protected] 密码 kaka 或者 pinbag 密码 kaka
相关帖子