Mailman

Mailman:是否可以重新發送退回的電子郵件?

  • March 20, 2015

我剛剛安裝了一個 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=<5451FFA8.8010408@XXX.com>
Oct 30 10:07:02 localhost postfix/qmgr[14515]: 47C5EC4134: from=<lista_clienti-bounces@lists.XXX.com>, size=431670, nrcpt=1 (queue active)
Oct 30 10:07:02 localhost postfix/smtp[28562]: 47C5EC4134: to=<info@icos-group.it>, 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 <lista_clienti-bounces@lists.XXX.com>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Oct 30 10:16:20 localhost postfix/qmgr[14515]: 47C5EC4134: from=<lista_clienti-bounces@lists.XXX.com>, size=431670, nrcpt=1 (queue active)
Oct 30 10:16:20 localhost postfix/smtp[29719]: 47C5EC4134: to=<info@icos-group.it>, 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 <lista_clienti-bounces@lists.XXX.com>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Oct 30 10:26:20 localhost postfix/qmgr[14515]: 47C5EC4134: from=<lista_clienti-bounces@lists.XXX.com>, size=431670, nrcpt=1 (queue active)
Oct 30 10:26:20 localhost postfix/smtp[30860]: 47C5EC4134: to=<info@icos-group.it>, 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 <lista_clienti-bounces@lists.XXX.com>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Oct 30 10:46:20 localhost postfix/qmgr[14515]: 47C5EC4134: from=<lista_clienti-bounces@lists.XXX.com>, size=431670, nrcpt=1 (queue active)
Oct 30 10:46:21 localhost postfix/smtp[320]: 47C5EC4134: to=<info@icos-group.it>, 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 <lista_clienti-bounces@lists.XXX.com>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Oct 30 11:16:20 localhost postfix/qmgr[14515]: 47C5EC4134: from=<lista_clienti-bounces@lists.XXX.com>, size=431670, nrcpt=1 (queue active)
Oct 30 11:16:20 localhost postfix/smtp[3133]: 47C5EC4134: to=<info@icos-group.it>, 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 <lista_clienti-bounces@lists.XXX.com>: Sender address rejected: Domain not found (in reply to RCPT TO command))
Oct 30 11:16:20 localhost postfix/qmgr[14515]: 47C5EC4134: from=<lista_clienti-bounces@lists.XXX.com>, 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

通常是錯誤資訊

Sender address rejected: Domain not found (in reply to RCPT TO command)

表示這是由於域不存在而導致的臨時錯誤。DNS 更改通常在 24 小時內傳播,預設情況下 postfix 應自動重試此傳遞,直到maximal_queue_lifetime(預設值為 5 天)。

由於您不小心設置maximal_queue_lifetime為 1 小時,那麼 postfix 將在重試 1 小時後放棄。然後 postfix 將退回郵件給郵遞員。

因此,您需要將電子郵件重新發送給郵遞員。如果您在郵遞員列表中配置了存檔,那麼您可以在那裡檢索原始電子郵件。

引用自:https://serverfault.com/questions/640864