japanese headers getting corrupted
Goetz Babin-Ebell
goetz at shomitefo.de
Thu Nov 2 13:35:38 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Ram,
Ramprasad schrieb:
> I have cyrus-imapd-2.2.3 on FC1
>
> When mail is delivered from postfix to cyrus , via unix lmtp some mails
> with japanese characters in headers ( from: and Subject: ) get changed
>
> The headers get replaced with "XXXXXX" ( non-ascii chars become X )
> but the body is not changed at all
The problem here is the sending mail user agent.
It does not generate mail headers according to RFC 2882 and RFC 2047.
According to RFC 2822 message header lines must contain only
ASCII characters (sect. 2.2).
If a message header line has to transport any non ASCII characters
they MUST be encoded as defined in RFC 2047.
You should send the authors of the senders MUA a friendly mail
pointing out that their piece of crap they call mail client is broken
and it would be a smaller PITA if they would implement a mail standard
that is around for now 10 years.
> Do I have to do any setting to allow japanese characters ?
You can set
munge8bit: 0
reject8bit: 0
in imapd.conf
Bye
Goetz
- --
DMCA: The greed of the few outweighs the freedom of the many
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFSjp62iGqZUF3qPYRAmLCAJ9OP9geI+sRKri3snb4jUoaC5CO/QCdFhMl
uBnZVKVOGt/u2xt/aUCqmAc=
=RTyt
-----END PGP SIGNATURE-----
More information about the Info-cyrus
mailing list