我有一个 Elastix 服务器盒,我想从中发送语音邮件的电子邮件通知。我想通过我们公司的电子邮件(由共享网络主机提供商 Bluehost 托管)发送它们。我已按照有关如何使用 Postfix 作为中继服务器的说明进行操作。电子邮件不会发出去。我在日志中得到以下信息(稍微混淆):
Sep 27 16:31:51 TD1000 postfix/smtp[9757]: 1B2C357117: to=<me@mycompany.com>, relay=boxNNN.bluehost.com[a.b.c.d]:465, delay=5241, delays=5076/0.03/165/0, dsn=4.4.2, status=deferred (lost connection with boxNNN.bluehost.com[a.b.c.d] while receiving the initial server greeting)
Run Code Online (Sandbox Code Playgroud)
很多地方都暗示这可能是黑名单问题。但是,对于在我的 PC 上运行的 Outlook 来说,这似乎也是一个问题。我想要做的是让后缀像 Outlook 一样,并使用 SSL 通过 Bluehost 发送。(我的 Outlook 设置:boxNNN.bluehost.com:465,SSL,需要身份验证)
当我进入调试级别时,我收到以下消息:
dns_query: boxNNN.bluehost.com (MX): Host found but no data record of requested type
Run Code Online (Sandbox Code Playgroud)
但是由于最终的消息是没有响应,并且它找到了服务器的 IP 地址,所以我不认为 DNS 问题是问题所在。
postconf -n 显示:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = …
Run Code Online (Sandbox Code Playgroud)