Bounce messages like gmail

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bounce messages like gmail

kazabe
Hi.

Im looking about how to customize the bounce messages.

I follow this guide

http://www.postfix.org/bounce.5.html

And work fine, but i wanna customize it using HTML (like gmail), but i
cant foud how do that.

Something like this

https://gsuiteupdates.googleblog.com/2016/12/support-your-gmail-users-more-easily.html

How can i do a similar on postfix?

thanks and regards.
Reply | Threaded
Open this post in threaded view
|

Re: Bounce messages like gmail

Matus UHLAR - fantomas
On 15.09.17 10:31, kazabe wrote:

>Im looking about how to customize the bounce messages.
>
>I follow this guide
>
>http://www.postfix.org/bounce.5.html
>
>And work fine, but i wanna customize it using HTML (like gmail), but i
>cant foud how do that.
>
>Something like this
>
>https://gsuiteupdates.googleblog.com/2016/12/support-your-gmail-users-more-easily.html
>
>How can i do a similar on postfix?

I think this is more a MUA (mail user agent) thing.
That means, it's not postfix who has to change the bounce messages, but the
one who shows bounces, formats (and translates) them so they are easier to
read.


--
Matus UHLAR - fantomas, [hidden email] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Eagles may soar, but weasels don't get sucked into jet engines.
Reply | Threaded
Open this post in threaded view
|

Re: Bounce messages like gmail

Wietse Venema
In reply to this post by kazabe
kazabe:

> Hi.
>
> Im looking about how to customize the bounce messages.
>
> I follow this guide
>
> http://www.postfix.org/bounce.5.html
>
> And work fine, but i wanna customize it using HTML (like gmail), but i
> cant foud how do that.

The Postfix bounce message format is defined by:

   RFC 3462 (Delivery Status Notifications)
   RFC 3464 (Delivery Status Notifications)
   RFC 6533 (Internationalized Delivery Status Notifications)

You can tinker with the bounce template at the top of the message,
but you can't tinker with the structure that is defined by the RFCs.

        Wietse