Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ok I've been banging my head over this for hours. I'm trying to forward all bounced messages to an external bounce processor regardless of domain. There are dozens of domains in use at any given time and occasionally there are domains being added and removed. In an attempt to try and keep it dynamic, I've added the following lines in postfix


From what I understand, this will forward a copy of all bounces to postmaster. I'm aware that bounced mail is returned to the sender, however the goal is to forward a copy of all bounces from all domains as long as they were sent from the local smtp. When I tried this, I received the following error:

undeliverable postmaster notification discarded

So my question is what is going on here? Is this a problem with local delivery? And how would I forward mail coming into postmaster to an external address?

And the bigger question is: Is this the best strategy to deliver all bounced mail from a server, regardless of domain (without managing a list of domains), to an external address?

I'll appreciate any input.

share|improve this question

From what I understand, this will forward a copy of all bounces to postmaster.

This is incorrect; the documentation for bounce(8) clearly states that bounce notification recipients will receive notifications of bounced messages, including a configurable portion of the original message.

Bounces themselves are not configurable, and are addressed to the message's Return-Path: as mandated by the RFC.

If your desire is to have bounces delivered to a specific mail server, investigate the mailing list management features postfix offers, and set the correct Return-Path: on outgoing messages.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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