直到现在我想我是使用端口465而不是我的ISP邮件服务器的端口25,我的智能主机连接,但在做了一些testing后,我注意到我使用的是端口25。
在我以前的main.cf中:
relayhost = [mail.X.pt]:25 smtp_fallback_relay = [cpanel.ideiasfrescas.pt]:465
白衣,
smtp_sasl_password_maps = hash:/Library/Server/Mail/Config/postfix/sasl/passwd sender_dependent_relayhost_maps = hash:/Library/Server/Mail/Config/postfix/relayhost/maps
在那里我为每个用户提供一个个性化的连接,在我的ISP邮件服务器的SMTP Auth地图文件中使用端口,
[email protected] [cpanel.ideiasfrescas.pt]:465
但是,当我在relayhost更改cpanel.ideiasfrescas.pt使用端口465时,我注意到我使用端口25,而不是从地图文件的端口和服务器。 我不再有能力发送邮件到我的ISP邮件服务器,导致在mailq这个警告:
(lost connection with cpanel.ideiasfrescas.pt[] while receiving the initial server greeting)
但是,在我的ISP邮件服务器端口465这个连接工作正常,至less我可以telnet。
所以我的问题是为什么我不能发送到端口465,它不应该为每个用户使用这些连接和端口? 或者因为我有这个问题,465默认使用relayhost?
为什么不使用也支持tls的587(SMTP提交端口),这两者通常都需要authentication,除非你的dynamicip是愿望清单