On Thu, 27 Sep 2012 14:24:37 +0000 Viktor Dukhovni <postfix-us...@dukhovni.org> wrote: > > "postconf -b" just stuffs the raw bits down your terminal, so this > just means that your terminal charset matches the encoding of Danish > characters in the file. What is your "$LANG" environment variable > set to? It may also be helpful to post any related "LC_*" variables.
I see. Then it makes better sense, especially because $LANG is set to Danish together with most of the LC_'s: titanus@machine:~$ locale LANG=da_DK.UTF-8 LANGUAGE= LC_CTYPE="da_DK.UTF-8" LC_NUMERIC="da_DK.UTF-8" LC_TIME="da_DK.UTF-8" LC_COLLATE="da_DK.UTF-8" LC_MONETARY="da_DK.UTF-8" LC_MESSAGES="da_DK.UTF-8" LC_PAPER="da_DK.UTF-8" LC_NAME="da_DK.UTF-8" LC_ADDRESS="da_DK.UTF-8" LC_TELEPHONE="da_DK.UTF-8" LC_MEASUREMENT="da_DK.UTF-8" LC_IDENTIFICATION="da_DK.UTF-8" LC_ALL= > > 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." > > This almost certainly means that the characters in the template > file are encoded in a charset different from the one you declared > in the template and identical to the one supported by your terminal, > editor program, ... > > Frequently these days, that charset is utf-8. I have tried to set the charset of bounce.cf to UTF-8 and then sent a few mails to the server to test it. When a bounce returns we'll know if UTF-8 did the trick. Thanks for the help so far and the additional information.