2

We have a postfix server which delivery via a smarthost / relay. Due to a misconfiguration we 60 emails were bounced back.

Nov 25 07:48:06 example postfix/smtp[2632]: F3F1F1A82421: to=<example@gmail.com.invalid>, relay=mail.example.com[....]:25, delay=0.13, delays=0.01/0/0.09/0.03, dsn=5.0.0, status=bounced (host mail.example.com[....] said: 550 Relay not 

Is there a way to requeue these mails or are they "lost" and have to be regenerated by the mail sender?

1
  • For the record: A 4XX SMTP response means "Not now, try again later" and the MTA will defer the message and try to resend it at a later time; a 5xx response means "No, and don't ask me again" and the MTA will accept that and cause a bounce.
    – Shadur
    2 days ago
6

No. While the error is temporary, postfix will retry to send the mail in regular intervals.

But with a final error like this the process is finished. The mail will have to be sent again.

3
  • Thanks, I was expecting that somehow. Is there a option to "log" outgoing mails to be able to retry final errors as well? This would be kind of cool.
    – Alex
    Nov 25 at 7:45
  • 5
    No, that won't be cool. Final errors are by the definition the ones which say "don't retry". You may enable soft_bounce temporarily, but don't run a system like this for too long, or others may ban you (your server will get listed as bad behaving host in various black lists). Read manual carefully and make sure you understand the meaning of each single word, because consequences could be be surprising. Nov 25 at 8:25
  • 2
    Well, the bounced mail is returned to the sender. If the sending address has a mailbox you'll find the mails there. Depending on the MTA configuration the original mail can be there as well as an attachment. Nov 25 at 10:42

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.