Postfix Bounces messages Translation

  • Hi,

    I'm thinking to translate the bounces messages received when there is an error when you send an email.
    As far I read... it looks like since postfix-2.3 we are available to translate this using /etc/postfix/ template...
    But actually, I can't find this file on the i-MSCP distro.

    Do you know how can I set this?


  • @lestatminiyo,

    By default, the builtin templates are used ;) The file that you're searching is stored in a dedicated package. In order you must:

    1. Install the postfix-doc distribution package: # apt-get install postfix-doc
    2. Create the custom bounce template as stated in BOUNCE(5):

    1. # cd /etc/postfix# cp /usr/share/doc/postfix-doc/examples/

    3. Translate the template that is now located at /etc/postfix/
    4. Make postfix aware of that custom bounce template by adding the following parameter in the /etc/postfix/ file:

    1. bounce_template_file = /etc/postfix/

    5. Restart postfix: service postfix restart

    See also: (BOUNCE(5))


  • I think it must be /etc/imscp/postfix/

    You must create it in the /etc/postfix directory. I made a mistake in my previous post which is now fixed.

    For the parameter to add in the /etc/postfix/ file, you can make it persistent using a i-MSCP listener file.