We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Postfix Bounce Configuration

Medium Priority
Last Modified: 2013-12-05
I am running Postfix 2.2.5 on a Linux Distribution (Mandriva Linux)

I am trying to do a custom Bounce Failure message without having to edit source-code and re-compile.

Does anyone know if this is possible?


Watch Question

Top Expert 2006

from the FAQs of postif

5. When Postfix sends a bounce message, it tells the sender, "For further assistance, please send mail to <postmaster>" But I want it to include my domain name in the address, e.g. <postmaster@example.com>. How can I do that?

The idea behind this is that people who receive this notification should contact their own local postmasters, since they may very well be the ones who have to deal with the problem. If you really want to change it, you have to modify the source code.


Ahh, Ok, Well I did read something about that, I just wasnt sure since I also read somethings that stated that you can create a bounce template file and make Postfix use that.  bounce_template_file = template_filename in the main.cf file.

But I can't find too much documentation on it.

Anyone used this method?
Top Expert 2006
you can find a complete tutorial for bounce in postfix and this directive

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


Ok, I see that you can do it but only on vesion 2.3 or later.  

2.3 Postfix is still in experimental phase, im sure its stable.

Being the Linux newb that I am, I would not be able to recompile the source code and upgrade to save my life. lol


Thanks for all your help, I was unable to do it, but I understand what needs to be done now.

Thanks again.

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.