Re: japanese headers getting corrupted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux