Problem with Subject: XXXX XXXXXX on Cyrus

Simon Matter simon.matter at ch.sauter-bc.com
Mon Nov 7 08:40:50 EST 2005


> Hello All,
>
> I have very annoying problem since I've moved to Cyrus from UW-IMAP:
>
> When someone sends e-mail from a number of servers to my users, and
> Subject line is in hebrew, the only Subject they see on their Outlook
> Express or
> Horde IMP is Subject: XXXX XXXXXX
>
> On the other hand, same message sent to Exchange account looks OK on the
> Subject line.

Hi Leon,

The problem is that non-encoded 8bit data is not allowed in message
headers and Cyrus-IMAPd prevents from any problem by replacing those chars
with X. Your testmail were sent from hotmail which should then be called
broken.

>
> Is there any solution to this kind of problem?

>From what I know you have to fix the problem before the mail reaches the
cyrus message store. Maybe you can fix those mail with amavis, at least
amavis warns you that the mails are broken (BAD HEADER). I don't think
there is a way to let cyrus handle those broken messages.

Regards,
Simon

>
>
> Here are the headers of the message I got on Cyrus account with Subject:
> XXXX XXXXXX:
>
> Return-Path: <starusta at hotmail.com>
> Received: from mail.edu.haifa.ac.il ([unix socket])
>  by mail.edu.haifa.ac.il (Cyrus v2.2.3) with LMTP; Mon, 07 Nov 2005
> 13:28:26 +0200
> X-Sieve: CMU Sieve 2.2
> Received: from localhost (localhost [127.0.0.1])
>  by mail.edu.haifa.ac.il (Postfix) with ESMTP id 73F921BEC4
>  for <leonk at construct.haifa.ac.il>; Mon,  7 Nov 2005 13:28:26 +0200 (IST)
> Received: from mail.edu.haifa.ac.il ([127.0.0.1])
>  by localhost (mail.edu.haifa.ac.il [127.0.0.1]) (amavisd-new, port
> 10024)
>  with ESMTP id 26288-07 for <leonk at construct.haifa.ac.il>;
>  Mon,  7 Nov 2005 13:28:26 +0200 (IST)
> Received: from mr2.haifa.ac.il (mr2.haifa.ac.il [132.74.1.218])
>  by mail.edu.haifa.ac.il (Postfix) with ESMTP id 3EAA61BEA3
>  for <leonk at construct.haifa.ac.il>; Mon,  7 Nov 2005 13:28:26 +0200 (IST)
> Received: from localhost (mr2 [127.0.0.1])
>  by mr2.haifa.ac.il (Postfix) with ESMTP id 62B543803B
>  for <leonk at construct.haifa.ac.il>; Mon,  7 Nov 2005 13:21:56 +0200 (IST)
> Received: from mr2.haifa.ac.il ([127.0.0.1])
>  by localhost (mr2.haifa.ac.il [127.0.0.1]) (amavisd-new, port 10026)
>  with ESMTP id 01525-09 for <leonk at construct.haifa.ac.il>;
>  Mon,  7 Nov 2005 13:21:53 +0200 (IST)
> Received: from hotmail.com (bay109-f13.bay109.hotmail.com [64.4.19.23])
>  by mr2.haifa.ac.il (Postfix) with ESMTP id 8D12A380C1
>  for <leonk at construct.haifa.ac.il>; Mon,  7 Nov 2005 13:21:49 +0200 (IST)
> Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
>   Mon, 7 Nov 2005 03:27:47 -0800
> Message-ID: <BAY109-F1389166ED6D0480D6A51ABC8650 at phx.gbl>
> Received: from 64.4.19.200 by by109fd.bay109.hotmail.msn.com with HTTP;
>  Mon, 07 Nov 2005 11:27:47 GMT
> X-Originating-IP: [132.74.99.84]
> X-Originating-Email: [starusta at hotmail.com]
> X-Sender: starusta at hotmail.com
> From: "leon kolchinsky" <starusta at hotmail.com>
> To: leonk at construct.haifa.ac.il
> Cc: leonk at univ.haifa.ac.il
> Subject: XXXX XXXXXX
> Date: Mon, 07 Nov 2005 11:27:47 +0000
> Mime-Version: 1.0
> Content-Type: text/plain; format=flowed
> X-OriginalArrivalTime: 07 Nov 2005 11:27:47.0820 (UTC)
> FILETIME=[47BA9AC0:01C5E38E]
> X-Virus-Scanned: by amavisd-new at haifa.ac.il
> X-Virus-Scanned: by amavisd-new at edu.haifa.ac.il
> X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char F7 hex) in message
> header 'Subject'
>   Subject: \367\345\370\361 \344\351\351\362\345\365\n           ^
>
>
> Here are the same message I got on Exchange account with looking OK
> Subject line:
>
> Microsoft Mail Internet Headers Version 2.0
> Received: from exchsrv02.haifa.edu ([132.74.1.68]) by exchsrv01.haifa.edu
> with Microsoft SMTPSVC(6.0.3790.1830);
>   Mon, 7 Nov 2005 13:27:39 +0200
> Received: from mr2.haifa.ac.il ([132.74.1.218]) by exchsrv02.haifa.edu
> with Microsoft SMTPSVC(6.0.3790.1830);
>   Mon, 7 Nov 2005 13:27:39 +0200
> Received: from localhost (mr2 [127.0.0.1])
>  by mr2.haifa.ac.il (Postfix) with ESMTP id 690CC380B6
>  for <leonk at univ.haifa.ac.il>; Mon,  7 Nov 2005 13:21:56 +0200 (IST)
> Received: from mr2.haifa.ac.il ([127.0.0.1])
>  by localhost (mr2.haifa.ac.il [127.0.0.1]) (amavisd-new, port 10026)
>  with ESMTP id 01563-03 for <leonk at univ.haifa.ac.il>;
>  Mon,  7 Nov 2005 13:21:53 +0200 (IST)
> Received: from hotmail.com (bay109-f13.bay109.hotmail.com [64.4.19.23])
>  by mr2.haifa.ac.il (Postfix) with ESMTP id 98CCC380CE
>  for <leonk at univ.haifa.ac.il>; Mon,  7 Nov 2005 13:21:49 +0200 (IST)
> Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
>   Mon, 7 Nov 2005 03:27:47 -0800
> Message-ID: <BAY109-F1389166ED6D0480D6A51ABC8650 at phx.gbl>
> Received: from 64.4.19.200 by by109fd.bay109.hotmail.msn.com with HTTP;
>  Mon, 07 Nov 2005 11:27:47 GMT
> X-Originating-IP: [132.74.99.84]
> X-Originating-Email: [starusta at hotmail.com]
> X-Sender: starusta at hotmail.com
> From: "leon kolchinsky" <starusta at hotmail.com>
> To: leonk at construct.haifa.ac.il
> Cc: leonk at univ.haifa.ac.il
> Subject: ÷åøñ äééòåõ
> Date: Mon, 07 Nov 2005 11:27:47 +0000
> Mime-Version: 1.0
> Content-Type: text/plain; format=flowed
> X-OriginalArrivalTime: 07 Nov 2005 11:27:47.0820 (UTC)
> FILETIME=[47BA9AC0:01C5E38E]
> X-Virus-Scanned: by amavisd-new at haifa.ac.il
> X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char F7 hex) in message
> header 'Subject': Subject: \367\345\370\361 \344\351\351\362\345\365\n
> Return-Path: starusta at hotmail.com
>
>
>
>
>
> Best Regards,
> Leon Kolchinsky
>
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



More information about the Info-cyrus mailing list