japanese headers getting corrupted

Andrew Morgan morgan at orst.edu
Thu Nov 2 12:47:47 EST 2006


On Thu, 2 Nov 2006, Ramprasad wrote:

> 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
>
> something like this
> Reply-To: "XXXc  X^XX" <concurring503 at chan.ne.jp>
> From: "XXXc  X^XX" <concurring503 at chan.ne.jp>
> To: <feedback at voxtab.com>
> Subject: XXXXXXXXXX
>
>
> Do I have to do any setting to allow japanese characters ?

It's a feature, not a bug!  :)

>From the imapd.conf manpage:

    reject8bit: 0
         If  enabled,  lmtpd  rejects messages with 8-bit characters in the
         headers.  Otherwise, 8-bit characters  are  changed  to  `X'.   (A
         proper  soultion  to non-ASCII characters in headers is offered by
         RFC 2047 and its predecessors.)

There has been a lot of discussion on the mailing list about this topic.

 	Andy


More information about the Info-cyrus mailing list