Exim是在公共云提供商提供的新提供的VM上配置的公共IP (scaleway.net)。
能够从CLI (或脚本)发送邮件给公共目的地收件人(gmail,yahoo,.)
Exim4日志文件/var/ log /exim4 4/mainlog显示与所有测试服务器(gmail、free.fr、online.net)的“连接超时”。
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial使用不同的smtp服务器进行测试:(gmail、free.fr、online.net)
/etc/exim4/update-exim4.conf.conf
#gmail-smtp.1.google.com:destination@gmail.com:pass1
#smtp.online.net:destination@online.net:pass2
smtp.free.fr:destination@free.fr:pass2root@scw-5c50c6:~# tail -f /var/log/exim4/mainlog
2018-10-27 17:32:47 1gGSDM-0002ib-5Y == destination1@gmail.com R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2018-10-27 17:32:47 1gGSKT-0002sr-C6 == destination1@gmail.com R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2018-10-27 17:32:47 1gGSF6-0002ij-UA == destination1@gmail.com R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2018-10-27 17:32:47 1gGSJs-0002no-EM == destination1@gmail.com R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2018-10-27 17:32:47 1gGSHC-0002is-0H == destination1@gmail.com R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2018-10-27 17:32:47 End queue run: pid=12074
2018-10-27 17:32:53 1gGSQA-00038q-A1 H=smtpauth-dc2.online.net [62.210.16.40] Connection timed out
2018-10-27 17:32:53 1gGSQA-00038q-A1 == destination1@gmail.com R=smarthost T=remote_smtp_smarthost defer (110): Connection timed out
2018-10-27 17:47:12 1gGSg4-00039P-CW <= root@localhost U=root P=local S=369
2018-10-27 17:47:12 1gGSg4-00039P-CW == destination2@yahoo.com R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host
2018-10-27 18:02:34 1gGSst-0003JZ-5k H=smtp.free.fr [212.27.48.4] Connection timed out
2018-10-27 18:02:34 1gGSst-0003JZ-5k == destination2@yahoo.com R=smarthost T=remote_smtp_smarthost defer (110): Connection timed out
2018-10-27 18:03:09 1gGSvV-0003KT-9k <= root@localhost U=root P=local S=369
2018-10-27 18:03:09 1gGSvV-0003KT-9k == destination2@yahoo.com R=smarthost T=remote_smtp_smarthost defer (-53): retry time not reached for any host我是不是漏掉了什么东西?
发布于 2018-10-28 01:41:13
Scaleway默认情况下阻止传出SMTP。你需要将其从控制面板中解除。。访问此选项需要经过验证的帐户;如果无法启用该帐户,请打开带有Scaleway的票证以获得进一步的说明。
https://serverfault.com/questions/937526
复制相似问题