Postfix Bounce Configuration

Posted on 2006-03-21
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?


Question by:1Parkplace
    LVL 14

    Expert Comment

    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. <>. 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.

    Author Comment

    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 file.

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

    Anyone used this method?
    LVL 14

    Accepted Solution

    you can find a complete tutorial for bounce in postfix and this directive


    Author Comment

    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

    Author Comment

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

    Thanks again.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now