Exim SMTP Smarthost安装程序

我使用这些设置来设置exim使用gmail作为智能主机,它的工作。 但是,我似乎无法使用这些设置对其他smtp服务器,如雅虎或Fastmail(都与端口465而不是587)。 这两个都失败,邮件defer (-18): Remote host smtp.example.com [xxxx] closed connection in response to initial connection 。 这些设置有什么问题吗? 有什么可能会出错?

 my_route: driver = manualroute domains = ! +local_domains transport = my_relay route_list = * smtp.mail.yahoo.com my_relay: driver = smtp port = 465 hosts_require_auth = $host_address hosts_require_tls = $host_address my_login: driver = plaintext public_name = LOGIN hide client_send = : [email protected] : my_password 

有相同的挑战,并通过将smtp端口从465(SSL / TLS)更改为587(STARTTLS)来解决。