Postfix Stored Bounceback/Error Email Messages

Hi,

Recently, our company ported over a website from another hosting environment and during the process mail that was supposed to be delivered to an email@host.com was lost. I checked the email logs and I saw that it was trying to reach an email address locally and that's why it wasn't sending so I fixed it. My question is, is there a place where postfix stores all bounceback emails or emails not sent due to errors?

I appreciate all your help,

Art

acontreras@thepointgroup.com

1 Reply

What do your log entries look like for the "lost" mail?

If postfix rejected the mail then it is long gone.

If postfix delivered the mail to the wrong place due to your misconfiguration, then you would need to figure out where.

If postfix was deferring the mail, then it should automatically keep retrying for a day or three before it bounces back to the sender. If you've fixed things then the mail should just come out of the queue on its own, but you can check for this like so:

# mailq
Mail queue is empty

If there is undelivered mail, look at the man pages for postqueue and postsuper to see your options for forcing redelivery.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct