0

I've just installed a Mailman server to send newsletters, but I (foolishly) didn't wait long enough for the new dedicated subdomain to propagate through the DNS network before sending the first one, so now I have a lot of bounced emails :( (due to Sender address rejected: Domain not found (in reply to RCPT TO command))

Since about half of the emails went through anyway, is it possible to tell Mailman to re-send the bounced ones, now that the DNS issue is settled?

Here's the Postfix log for one of those bounced emails:

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
  • Usually above error was means temporary error and any MTA should retry to send it until specified time. BTW, What MTA did you use with mailman? – masegaloeh Oct 30 '14 at 13:36
  • @masegaloeh: I'm using Postfix, it tried for about an hour and a half, and then went to "status=expired" and stopped trying – Joril Oct 30 '14 at 14:02
  • 2
    I think so. I remember posting it to the Mailman list ages ago and having Mark Sapiro himself reply (as he often does). However, I used a term different than "bounced". It may have been "stuck" (as in "stuck in the cache directory and never deleted"). Good luck :) – barrycarter Oct 30 '14 at 15:19
  • 1
    Strange, postfix gave up at just over an hour. This is not default behavior; by default it will keep trying for five days. Show your postfix configuration. – Michael Hampton Oct 30 '14 at 16:07
  • 1
    Well, looks like you are out of luck now because both postfix and mailman doesn't have a copy of your sent email. Better to resend email to mailman :) – masegaloeh Oct 31 '14 at 0:15
1

Usually the error message

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

indicated this is temporary error because of non-existent domain. DNS change usually propagate in 24 hours and by default postfix should automatically retry this delivery until maximal_queue_lifetime (the default value is 5 days).

As you accidentally set maximal_queue_lifetime to 1 hour, then postfix will give up after retried for 1 hour. Then postfix will send bounces to mailman.

Because of that you need to resend email to mailman. If you have configured archive in mailman list, then you can retrieve the original email there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.