注意:我也在超级用户上发布了这个问题,但是我也决定把它放在这里,因为没有人真的在超级用户身上回答。
超级用户链接: https : //superuser.com/questions/1106076/sendmail-relay-server-problems
所以我有这个互联网服务提供者叫做dna,这只允许端口25通信到他们自己的smtp服务器。 所以我尝试以下sendmail.mc:define('SMART_HOST','smtp.dnainternet.fi')dnl。 但是,当我尝试冲洗我得到的邮件队列:
sudo /usr/sbin/sendmail -v -q Running /var/spool/mqueue/u6SC0Cqg013901 (sequence 1 of 7) u6SC0Cqg013901: locked Running /var/spool/mqueue/u6RDRTKX031454 (sequence 2 of 7) u6RDRTKX031454: locked Running /var/spool/mqueue/u6R9Fml7029261 (sequence 3 of 7) <[email protected]>... Connecting to smtp.dnainternet.fi. via relay... <[email protected]>... Deferred: Connection timed out with smtp.dnainternet.fi.
我认为这是因为我需要凭据来使用dna smtp服务器,所以我怎么能input凭据到sendmailconfiguration。
编辑:
Traceroute给了我这个:
traceroute smtp.dnainternet.fi traceroute to smtp.dnainternet.fi (83.102.40.116), 30 hops max, 60 byte packets 1 gateway (192.168.1.1) 0.512 ms 0.824 ms 0.814 ms 2 87-92-0-1.bb.dnainternet.fi (87.92.0.1) 3.006 ms 3.002 ms 3.301 ms 3 esp2-tr2.dnaip.fi (62.78.123.155) 3.487 ms 3.574 ms 3.606 ms 4 hel6-er2.dnaip.fi (62.78.104.15) 4.507 ms 4.391 ms 4.596 ms 5 hel6-er1.dnaip.fi (62.78.118.138) 4.521 ms hel6-er1.dnaip.fi (62.78.117.55) 6.008 ms 4.780 ms 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *
如果您的ISP块传出smtp连接(到端口25)
然后尝试连接到智能主机上的端口587。
[smtp.dnainternet.fi接受连接到端口587]
Sendmail FAQ 3.39:如何使用备用端口发送?