Exchange 服务器无法从 Postfix 中继接收外部电子邮件

Exchange 服务器无法从 Postfix 中继接收外部电子邮件

服务器 A = Exchange 服务器 (mail.example.com)
服务器 B = VPS 上的 SMTP 服务器 (smtp.example.com)
我使用 2单独的服务器由于我的 ISP 而建立我的邮件服务器封锁服务器A的25端口
因此配置是服务器 B(Postfix)作为我的中继 SMTP
然后服务器 A连接至服务器 B通过智能主机
现在我已经可以了发送电子邮件至外部电子邮件通过改变智能主机端口为 587

Set-SendConnector -identity "smart host connector" -Port:587

问题是我无法接收来自外部电子邮件的电子邮件,当我检查我的服务器 B 日志, 这状态=已退回

Dec 22 20:09:30 postfix postfix/qmgr[4160]: AF6A72044F: from=<[email protected]>, size=2550, nrcpt=1 (queue active)
Dec 22 20:09:30 postfix postfix/local[4167]: AF6A72044F: to=<[email protected]>, relay=local, delay=0.46, delays=0.45/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "user")

我的配置是服务器 B

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_un$
myhostname = smtp.example.com
#ADDED LINE
mydomain = example.com
myorigin = $mydomain

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = [mail.example.com]:587, mail.example.com, example.com
local_recipient_maps =

relayhost =
mynetworks = 38.123.399.10
relay_domains = mail.example.com

mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all

我对此感到很困惑,我可以正常向外部发送电子邮件,但无法从外部接收电子邮件,
我的配置有问题吗?

答案1

您是否已在 Exchange Server 的接收连接器中添加了中继服务器 IP?如果没有,请按照以下指导操作:接收连接器如何为 Exchange Server 2010 配置中继连接器

此外,类似线供您参考。

抱歉我对Postfix不太熟悉,但是我做了一些研究,以下是博客中的一些解决方案供您参考:postfix 发往 domain.com 的邮件循环回到我自己的错误及解决方法

相关内容