标题说明了一切,qMail 至少需要 30-60 秒才能发送一封电子邮件,这是如果客户端软件没有先超时的话!
我尝试过 Outlook、emClient、RoundCube Webmail 和 Android Mail Client……结果都一样。
查看邮件日志似乎每秒都会出现数百个新条目。
以下是片段:
Dec 14 14:51:21 tgdb qmail: 1355485881.151176 starting delivery 211: msg 210515326 to local 1-postmaster@thegamesd$
Dec 14 14:51:21 tgdb qmail: 1355485881.151208 status: local 2/10 remote 8/20
Dec 14 14:51:21 tgdb qmail: 1355485881.151717 starting delivery 212: msg 210515274 to local [email protected]
Dec 14 14:51:21 tgdb qmail: 1355485881.151739 status: local 3/10 remote 8/20
Dec 14 14:51:21 tgdb qmail-local-handlers[12139]: Handlers Filter before-local for qmail started ...
Dec 14 14:51:21 tgdb qmail-local-handlers[12140]: Handlers Filter before-local for qmail started ...
Dec 14 14:51:21 tgdb qmail-local-handlers[12140]: from=
Dec 14 14:51:21 tgdb qmail-local-handlers[12140]: [email protected]
Dec 14 14:51:21 tgdb qmail-local-handlers[12140]: mailbox: /var/qmail/mailnames/thegamesdb.net
Dec 14 14:51:21 tgdb qmail-local-handlers[12139]: from=#@[]
Dec 14 14:51:21 tgdb qmail-local-handlers[12139]: [email protected]
Dec 14 14:51:21 tgdb qmail-local-handlers[12139]: mailbox: /var/qmail/mailnames/thegamesdb.net
Dec 14 14:51:21 tgdb qmail-local-handlers[12140]: Unable to get sender domain by sender mailname
Dec 14 14:51:21 tgdb qmail: 1355485881.183685 starting delivery 213: msg 210513508 to local 1-postmaster@thegamesd$
Dec 14 14:51:21 tgdb qmail: 1355485881.183726 status: local 4/10 remote 8/20
Dec 14 14:51:21 tgdb qmail: 1355485881.183736 delivery 210: deferral: ./Maildir:_No_such_file_or_directory/
Dec 14 14:51:21 tgdb qmail: 1355485881.183745 status: local 3/10 remote 8/20
Dec 14 14:51:21 tgdb qmail: 1355485881.183755 delivery 212: failure: ./Maildir:_No_such_file_or_directory/I'm_not_$
Dec 14 14:51:21 tgdb qmail: 1355485881.183764 status: local 2/10 remote 8/20
Dec 14 14:51:21 tgdb qmail-queue-handlers[12148]: Handlers Filter before-queue for qmail started ...
Dec 14 14:51:21 tgdb qmail-local-handlers[12149]: Handlers Filter before-local for qmail started ...
Dec 14 14:51:21 tgdb qmail-queue-handlers[12148]: from=#@[]
Dec 14 14:51:21 tgdb qmail-queue-handlers[12148]: to=postmaster@tgdb.(none)
Dec 14 14:51:21 tgdb qmail-local-handlers[12149]: from=#@[]
Dec 14 14:51:21 tgdb qmail-local-handlers[12149]: [email protected]
Dec 14 14:51:21 tgdb qmail-local-handlers[12149]: mailbox: /var/qmail/mailnames/thegamesdb.net
Dec 14 14:51:21 tgdb qmail-queue-handlers[12148]: starter: submitter[12150] exited normally
Dec 14 14:51:21 tgdb qmail: 1355485881.226147 bounce msg 210515274 qp 12148
Dec 14 14:51:21 tgdb qmail: 1355485881.227155 end msg 210515274
Dec 14 14:51:21 tgdb qmail: 1355485881.227421 delivery 211: failure: ./Maildir:_No_such_file_or_directory/I'm_not_$
Dec 14 14:51:21 tgdb qmail: 1355485881.229095 status: local 1/10 remote 8/20
Dec 14 14:51:21 tgdb qmail: 1355485881.246970 starting delivery 214: msg 210516149 to local 1-postmaster@thegamesd$
Dec 14 14:51:21 tgdb qmail: 1355485881.247013 status: local 2/10 remote 8/20
Dec 14 14:51:21 tgdb qmail: 1355485881.247025 triple bounce: discarding bounce/210515326
Dec 14 14:51:21 tgdb qmail: 1355485881.247183 end msg 210515326
Dec 14 14:51:21 tgdb qmail: 1355485881.247552 delivery 213: deferral: ./Maildir:_No_such_file_or_directory/
Dec 14 14:51:21 tgdb qmail: 1355485881.247573 status: local 1/10 remote 8/20
Dec 14 14:51:21 tgdb qmail-local-handlers[12158]: Handlers Filter before-local for qmail started ...
Dec 14 14:51:21 tgdb qmail-local-handlers[12158]: from=#@[]
Dec 14 14:51:21 tgdb qmail-local-handlers[12158]: [email protected]
Dec 14 14:51:21 tgdb qmail-local-handlers[12158]: mailbox: /var/qmail/mailnames/thegamesdb.net
Dec 14 14:51:21 tgdb qmail: 1355485881.281957 starting delivery 215: msg 210514740 to local 1-postmaster@thegamesd$
Dec 14 14:51:21 tgdb qmail: 1355485881.282001 status: local 2/10 remote 8/20
Dec 14 14:51:21 tgdb qmail: 1355485881.282013 delivery 214: deferral: ./Maildir:_No_such_file_or_directory/
Dec 14 14:51:21 tgdb qmail: 1355485881.282022 status: local 1/10 remote 8/20
有没有人有什么建议?
答案1
SMTP 服务器似乎需要至少 20 秒才能响应连接请求。
我运行了“telnet mail.penoval.co.uk 25”,大约花了 30 秒才收到欢迎消息。
任何想法是什么原因造成的,HTTP 流量没有遭受相同的延迟 :P
编辑:仔细研究一下,如果 qmail 尝试执行反向 DNS 查找并且由 tcpserver 启动,则它接受连接的速度可能会很慢,如下页所示:http://www.lifewithqmail.org/lwq.html#smtp-slow
研究一下它是否符合我的用途。
编辑 2:好的,几个月后我终于找到了解决方案……似乎我的 VPS 提供商控制面板中为我的 IP 配置了错误的反向 DNS,尽管我在控制面板中将正确的域和 IP 绑定在一起,但它未能执行更改。我联系了我的 VPS 提供商并请求执行更改,从而解决了这个问题。