[ https://issues.apache.org/jira/browse/IMAP-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015098#comment-13015098 ]
Sergey Ushakov commented on IMAP-276: ------------------------------------- I also agree with Norman that this is malformatted email. But with MTAs and email clients having been tolerant to this sort of discompliance all the time, it is now a part of our real life. Like HTTP browsers dealing with real-world HTML have to be tolerant to malformed content and treat it in some reasonable (maybe best guess) manner, a real-world mail server also has to be similarly tolerant to be useful and convenient. I add my vote for this issue to be addressed favorably. We need to get the server at least to allow these emails to exist :) And this behavior maybe better enabled by default. Meanwhile getting the headers readable might be implemented as an option disabled by default (as a sort of exceptional configuration). I also anticipate a challenge for the task of getting the headers readable, as the server will have to guess the encoding of this "raw" content... Maybe we could get an applicable encoding be explicitly assigned in the configuration as the first step... > Incorrect headers "From", "To" and "Subject" > -------------------------------------------- > > Key: IMAP-276 > URL: https://issues.apache.org/jira/browse/IMAP-276 > Project: JAMES Imap > Issue Type: Bug > Environment: Windows XP > Reporter: Dmitry > > There is another problem with cyrillic letters. > The headers "From", "To" and "Subject" in the message list in the IMAP > folders (inbox and sent) are displayed incorrectly, if they are in the plain > cyrillic text (ie not encoded using base64 or quoted-printable). Question > marks are displayed instead of cyrillic letters in "From" and "Subject". The > header "To" is empty. > Through the IMAP protocol in message lists at first I get the headers "From", > "To" and "Subject" incorrectly. After opening the mail entirely I am seeing > the correct mail (headers and text). > Just as it was in the issue IMAP-266. But now the headers are other and the > base64 encoding is missing. > It was checked for James 3.0 M3 (with IMAP-266 fix) and for Outlook Express, > Horde IMP, MS Outlook. > Below is email which reproduce the problem: > ====================== begin ====================== > Return-path: <ro...@user.z8.ru> > Envelope-to: d...@petroarenda.ru > Delivery-date: Fri, 01 Apr 2011 20:03:22 +0400 > Received: from [195.128.50.36] (helo=mailx.hoster.ru) > by mail.hoster.ru with esmtps (TLSv1:AES256-SHA:256) > (Exim 4.69 (FreeBSD)) > (envelope-from <ro...@user.z8.ru>) > id 1Q5gok-000AOW-VT > for d...@petroarenda.ru; Fri, 01 Apr 2011 20:03:22 +0400 > Received: from bmx1.z8.ru ([80.93.62.39]) > by mailx.hoster.ru with esmtp (Exim 4.69 (FreeBSD)) > (envelope-from <ro...@user.z8.ru>) > id 1Q5goh-00060i-Gp > for d...@petroarenda.ru; Fri, 01 Apr 2011 20:03:19 +0400 > Received: from titan.phst ([192.168.6.81] helo=titan.z8.ru) > by bmx1.z8.ru with esmtp (Exim 4.71 (FreeBSD)) > (envelope-from <ro...@user.z8.ru>) > id 1Q5goU-000Al5-6g > for d...@petroarenda.ru; Fri, 01 Apr 2011 20:03:06 +0400 > Received: (from roost@localhost) > by titan.z8.ru (8.14.3/8.13.8/Submit) id p31G36Ju029025; > Fri, 1 Apr 2011 20:03:06 +0400 (MSD) > (envelope-from roost) > Date: Fri, 1 Apr 2011 20:03:06 +0400 (MSD) > Message-Id: <201104011603.p31g36ju029...@titan.z8.ru> > To: d...@petroarenda.ru > Subject: 1 апреля на Невафоруме! ( Питерский форум ) > X-PHP-Script: nevaforum.ru/index.php for 95.27.254.221, 95.27.254.221 > MIME-Version: 1.0 > Content-type: text/html; charset="windows-1251" > From: "Питерский форум" <ad...@nevaforum.ru> > X-Priority: 3 > X-Mailer: IPB PHP Mailer > X-SA-Exim-Connect-IP: 192.168.6.81 > X-SA-Exim-Mail-From: ro...@user.z8.ru > X-SA-Exim-Scanned: No (on bmx1.z8.ru); SAEximRunCond expanded to false > X-HOSTER.RU-SPAMSCORE: 0 > X-Antivirus: avast! (VPS 110401-1, 01.04.2011), Inbound message > X-Antivirus-Status: Clean > X-Antivirus: avast! (VPS 110401-1, 01.04.2011), Inbound message > X-Antivirus-Status: Clean > Уважаемый(ая), victorr! > <br><br>В честь 1 апреля на один день главная страница форума изменилась до > неузнаваемости! Наконец-то разделы получили свое правильное название)) > <br>Улыбнитесь вместе с нами, улыбайтесь чаще! > <br><br>С наилучшими пожеланиями, > <br>Администрация Невафорума > <br>http://nevaforum.ru/ > ======================= end ====================== -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org