Wietse Venema: > Titanus Eramius: > > I have translated "bounce_template_file" to Danish, and besides the > > localized letters, it works fine (the English part is still present > > in the error). > > > > In /etc/postfix/main.cf I have set > > delay_warning_time = 4 > > bounce_template_file = /etc/postfix/bounce.cf > > > > When I run "postconf -b /etc/postfix/bounce.cf" it works great - the > > Danish letters are shown in my terminal, and postconf gives no errors. > > However, when Postfix returns a answer after 4 hours plus some, the > > localized letters are gone. For example, this English line we all know: > > "This is the mail system at host myhost." > > > > I have translated it to this: > > "Det her mailsystemet p? v?rten mydomain." > > > > (the first localized Danish letter is ?, and it's suppose to look like > > this: > > https://en.wikipedia.org/wiki/%C3%85 ) > > > > Instead it looks like this: > > "Det her mailsystemet p?? v??rten mydomain." > > Bounce templates have supported non-ASCII from the start. I suspect > that something after Postfix is stripping them.
I just confirmed that Postfix bounce deliveries are 8-bit clean. A template with 0xff characters delivers as expected ("sendmail -bv -f wietse@localhost wietse@localhost" with delivery by the local(8) delivery agent to mailbox file). Wietse