On Thu, Sep 27, 2012 at 12:27:21PM +0200, Titanus Eramius wrote:

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

This confirms that the charset you declared is indeed a superset
of ASCII.

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

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

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

-- 
        Viktor.

Reply via email to