451 发送电子邮件时出现临时本地问题

451 发送电子邮件时出现临时本地问题
2012-06-14 21:57:14 cwd=/etc/csf 4 args: /usr/sbin/sendmail -f [email protected] -t
2012-06-14 21:57:14 1SfEIE-0000wK-Kj <= [email protected] U=root P=local S=678 T="lfd on host2.thetimesoftimes.com: WHM/cPanel root access alert from 181.21.53.1 (US/United States/" for [email protected]
2012-06-14 21:57:14 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1SfEIE-0000wK-Kj
2012-06-14 21:57:23 1SfEIE-0000wK-Kj == [email protected] R=lookuphost T=remote_smtp defer (-44): SMTP error from remote mail server after RCPT TO:<[email protected]>: host direct-connect.thetimesoftimes.com [76.23.22.22]: 451 Temporary local problem - please try later
2012-06-14 21:57:23 1SfEIE-0000wK-Kj ** [email protected]: retry timeout exceeded
2012-06-14 21:57:23 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1SfEIE-0000wK-Kj
2012-06-14 21:57:23 1SfEIN-0000wQ-Em <= <> R=1SfEIE-0000wK-Kj U=mailnull P=local S=1811 T="Mail delivery failed: returning message to sender" for [email protected]

不确定这是什么意思或出了什么问题。这是 Exim 配置错误吗?

在 /etc/localdomains 下我有 hosts2.domain,在 /etc/remotedomains 下我列出了主域。我现在需要配置 Exim 吗?

答案1

此行表示这是一个临时错误,exim 应该至少每隔 5 天左右定期重试发送。这是默认设置。

2012-06-14 21:57:23 1SfEIE-0000wK-Kj == [email protected] R=lookuphost T=remote_smtp defer (-44): SMTP error from remote mail server after RCPT TO:<[email protected]>: host direct-connect.thetimesoftimes.com [76.23.22.22]: 451 Temporary local problem - please try later

但你的情况是,exim 立即交付失败:

2012-06-14 21:57:23 1SfEIE-0000wK-Kj ** [email protected]: retry timeout exceeded

我不知道为什么远程服务器会出现这个临时错误,如果你控制服务器,请检查其日志来找出原因。

我也不知道为什么你的情况中的 exim 会超时重试并立即向你发送永久失败。但我怀疑你可能(错误地)配置了它来这样做?默认的 exim 配置不会这样。

有时,在出现“任何主机的重试时间未达到”的情况下,为了在 Debian 系统上立即强制重试,我会删除文件 /var/spool/exim4/db/retry,然后启动另一个队列运行。您可以尝试这样做,但我不确定它是否会对您的特定问题有效。这只是一个值得一试的快速修复方法(它几乎无害),但对于永久修复,请仔细检查您的配置以查看 exim 对临时故障的行为。

你可以通过以下方式启动队列运行:

exim -q -v

要了解更多 exim 命令,请参阅此备忘单:http://bradthemad.org/tech/notes/exim_cheatsheet.php

相关内容