我对exim4上的消息队列有点困惑。 我相信一个特定的信息已经排了21天了:
$ sudo exim -bp | head -n 2 21d 5.2K 1YU9Ma-0007Ow-Hf <[email protected]> [email protected]
然而,考虑到已经实施的重试规则(我认为这应该在4天之后应该停止重试),这似乎没有意义:
$ sudo exim -brt yahoo.com Retry rule: * * F,2h,15m; G,16h,1h,1.5; F,4d,6h;
这里发生了什么? 我search了我的日志中的这个消息ID,但没有发现什么,但是:
$ zgrep 1YU9Ma-0007Ow-Hf /var/log/exim4/mainlog* /var/log/exim4/mainlog:2015-03-27 12:54:09 1YU9Ma-0007Ow-Hf == [email protected] routing defer (-51): retry time not reached /var/log/exim4/mainlog:2015-03-27 12:54:13 1YU9Ma-0007Ow-Hf == [email protected] routing defer (-51): retry time not reached /var/log/exim4/mainlog:2015-03-27 14:41:16 1YU9Ma-0007Ow-Hf == [email protected] routing defer (-51): retry time not reached /var/log/exim4/mainlog:2015-03-27 14:42:08 1YU9Ma-0007Ow-Hf == [email protected] routing defer (-51): retry time not reached /var/log/exim4/mainlog:2015-03-27 14:43:23 1YU9Ma-0007Ow-Hf == [email protected] routing defer (-51): retry time not reached /var/log/exim4/mainlog.1:2015-03-26 13:52:25 1YU9Ma-0007Ow-Hf == [email protected] routing defer (-51): retry time not reached ...
在重试超时过期后,消息是否会保留在队列中?
你会碰巧有一个日志显示电子邮件第一次尝试?
在过去我见过的大多数情况下,一个exim试图发送一个电子邮件到一个不存在的地址或一个电子邮件进入一个不存在的电子邮件帐户。 除非您在configuration中指定发送到不活动电子邮件的邮件为“黑匣子”,否则将发生这种情况,并且需要手动清除。 或者,您可以运行以下操作:
exim -Mrm <message-id>
这将删除电子邮件。