michelsn 发表于 2016-7-3 00:07:14

Window2008下的PowerMTA + Oempro配置,无法发送邮件

如题,域名DNS已经指向OK.
在oempro中已经配置PowerMTA,并测试成功,oempro前端测试发送邮件提示发送成功,不过无论是163,QQ,Gmail都无法收到测试邮件,求指导。




PowerMTA的config文件内容:
#
# $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>

#
# 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         :2525# bypasses DNS resolution
#</domain>
#
#<domain test.port25.com>
#    max-smtp-out    1
#    log-connections yes
#    log-commands    yes   # WARNING: verbose!
#    log-resolutionno      # 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

#
# 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 我的域名



michelsn 发表于 2016-7-3 01:09:32

:D 已经解决,仍然感谢前来阅读关注的朋友!

michelsn 发表于 2016-7-3 01:32:09

:L 预览邮件是发出去了,不过营销活动这里确发不出去,没有LOG信息,不懂那里出状况了

michelsn 发表于 2016-7-3 18:03:17

已经解决营销活动无法发送邮件的问题,原因:没有定时调用cron.php

lanyunan 发表于 2016-7-4 09:09:30

楼主pmta也可以在window环境安装吗?就是拿本地电脑服务器?

xiaonetwork 发表于 2016-7-8 16:01:47

可以吧,windows下面可以安装的,文档中也有

anyiwi 发表于 2016-8-1 10:13:17

一样的问题,不知道如何定时调用cron.php
页: [1]
查看完整版本: Window2008下的PowerMTA + Oempro配置,无法发送邮件