我刚刚安装了一个 Mailman 服务器来发送时事通讯,但我(愚蠢地)在发送第一个之前没有等待足够长的时间让新的专用子域通过 DNS 网络传播,所以现在我有很多退回的电子邮件: ((由于Sender address rejected: Domain not found (in reply to RCPT TO command)
)
由于大约有一半的电子邮件无论如何都通过了,既然 DNS 问题已经解决,是否可以告诉 Mailman 重新发送退回的电子邮件?
这是其中一封退回电子邮件的 Postfix 日志:
Oct 30 10:07:02 localhost postfix/smtpd[28548]: 47C5EC4134: client=localhost[127.0.0.1]
Oct 30 10:07:02 localhost postfix/cleanup[28580]: 47C5EC4134: message-id=<[email protected]>
Oct 30 10:07:02 localhost postfix/qmgr[14515]: 47C5EC4134: from=<[email protected]>, size=431670, nrcpt=1 (queue active)
Oct 30 10:07:02 localhost postfix/smtp[28562]: 47C5EC4134: to=<[email protected]>, relay=smtp.XXX.com[XX.XXX.X.XXX]:25, delay=0.42, delays=0.05/0/0.21/0.16, dsn=4.1.8, status=deferred (host smtp.XXX.com[XX.XXX.X.XXX] said: 450 4.1.8 <[email protected]>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Oct 30 10:16:20 localhost postfix/qmgr[14515]: 47C5EC4134: from=<[email protected]>, size=431670, nrcpt=1 (queue active)
Oct 30 10:16:20 localhost postfix/smtp[29719]: 47C5EC4134: to=<[email protected]>, relay=smtp.XXX.com[XX.XXX.X.XXX]:25, delay=558, delays=558/0.06/0.1/0.04, dsn=4.1.8, status=deferred (host smtp.XXX.com[XX.XXX.X.XXX] said: 450 4.1.8 <[email protected]>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Oct 30 10:26:20 localhost postfix/qmgr[14515]: 47C5EC4134: from=<[email protected]>, size=431670, nrcpt=1 (queue active)
Oct 30 10:26:20 localhost postfix/smtp[30860]: 47C5EC4134: to=<[email protected]>, relay=smtp.XXX.com[XX.XXX.X.XXX]:25, delay=1159, delays=1158/0.03/0.34/0.05, dsn=4.1.8, status=deferred (host smtp.XXX.com[XX.XXX.X.XXX] said: 450 4.1.8 <[email protected]>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Oct 30 10:46:20 localhost postfix/qmgr[14515]: 47C5EC4134: from=<[email protected]>, size=431670, nrcpt=1 (queue active)
Oct 30 10:46:21 localhost postfix/smtp[320]: 47C5EC4134: to=<[email protected]>, relay=smtp.XXX.com[XX.XXX.X.XXX]:25, delay=2359, delays=2359/0.03/0.1/0.04, dsn=4.1.8, status=deferred (host smtp.XXX.com[XX.XXX.X.XXX] said: 450 4.1.8 <[email protected]>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Oct 30 11:16:20 localhost postfix/qmgr[14515]: 47C5EC4134: from=<[email protected]>, size=431670, nrcpt=1 (queue active)
Oct 30 11:16:20 localhost postfix/smtp[3133]: 47C5EC4134: to=<[email protected]>, relay=smtp.XXX.com[XX.XXX.X.XXX]:25, delay=4158, delays=4158/0.03/0.1/0.06, dsn=4.1.8, status=deferred (host smtp.XXX.com[XX.XXX.X.XXX] said: 450 4.1.8 <[email protected]>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Oct 30 11:16:20 localhost postfix/qmgr[14515]: 47C5EC4134: from=<[email protected]>, status=expired, returned to sender
Oct 30 11:16:20 localhost postfix/bounce[3136]: 47C5EC4134: sender non-delivery notification: 9CFC2C0560
Oct 30 11:16:20 localhost postfix/qmgr[14515]: 47C5EC4134: removed
通常是错误信息
表示这是由于域不存在而导致的临时错误。DNS 更改通常在 24 小时内传播,默认情况下 postfix 应自动重试此交付,直到
maximal_queue_lifetime
(默认值为 5 天)。由于您不小心设置
maximal_queue_lifetime
为 1 小时,那么 postfix 将在重试 1 小时后放弃。然后 postfix 将退回邮件给邮递员。因此,您需要将电子邮件重新发送给邮递员。如果您在邮递员列表中配置了存档,那么您可以在那里检索原始电子邮件。