<?xml version="1.0" encoding="UTF-8"?>
<issue>
  <id>3593</id>
  <project name="Redmine" id="1"/>
  <tracker name="Defect" id="1"/>
  <status name="Closed" id="5"/>
  <priority name="Normal" id="4"/>
  <author name="Stanislav German-Evtushenko" id="1381"/>
  <subject>Encoding problem with receiving emails</subject>
  <description>There is a problem with redmine 0.8-stable. Receiving emails from groupwise 7.0.3 doesn't work correctly (with thunderbird it works well).

Test message:
&lt;pre&gt;
From - Tue Jul  7 16:58:15 2009
X-Account-Key: account2
X-UIDL: 32ce
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                 
Message-Id: 000032CE
X-Mailer: Novell GroupWise Internet Agent 7.0.2 HP
Date: Tue, 07 Jul 2009 16:58:13 +0400
From: "Stanislav German-Evtushenko" &lt;stas@domain.ru&gt;
To: "HelpDesk" &lt;helpdesk@domain.ru&gt;,
	"Stanislav German-Evtushenko" &lt;stas@domain.ru&gt;
Subject: =?UTF-8?B?0KLQtdGB0YI=?=
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

0KLQtdGB0YLQvtCy0LDRjyDQt9Cw0LTQsNGH0LANCg0K
&lt;/pre&gt;

Gives:
&lt;pre&gt;
&#1055;&#1086; &#1079;&#1072;&#1076;&#1072;&#1095;&#1077; #118 &#1073;&#1099;&#1083; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085; &#1086;&#1090;&#1095;&#1077;&#1090; (&#1057;&#1090;&#1072;&#1085;&#1080;&#1089;&#1083;&#1072;&#1074; &#1043;&#1077;&#1088;&#1084;&#1072;&#1085;-&#1045;&#1074;&#1090;&#1091;&#1096;&#1077;&#1085;&#1082;&#1086;).
&#1047;&#1072;&#1103;&#1074;&#1082;&#1072; #118: &#1074;&#1093;&#1105;&#1106;

    * &#1040;&#1074;&#1090;&#1086;&#1088;: &#1057;&#1090;&#1072;&#1085;&#1080;&#1089;&#1083;&#1072;&#1074; &#1043;&#1077;&#1088;&#1084;&#1072;&#1085;-&#1045;&#1074;&#1090;&#1091;&#1096;&#1077;&#1085;&#1082;&#1086;
    * &#1057;&#1090;&#1072;&#1090;&#1091;&#1089;: &#1053;&#1086;&#1074;&#1099;&#1081;
    * &#1055;&#1088;&#1080;&#1086;&#1088;&#1080;&#1090;&#1077;&#1090;: &#1053;&#1086;&#1088;&#1084;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081;
    * &#1053;&#1072;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1072;:
    * &#1050;&#1072;&#1090;&#1077;&#1075;&#1086;&#1088;&#1080;&#1103;:
    * &#1042;&#1077;&#1088;&#1089;&#1080;&#1103;:

&#1074;&#1093;&#1105;&#1106;&#1102;&#1090;&#1088;&#1119; &#1095;&#1088;&#1092;&#1088;&#1111;&#1088;
&lt;/pre&gt;

But should be:
&lt;pre&gt;
&#1055;&#1086; &#1079;&#1072;&#1076;&#1072;&#1095;&#1077; #118 &#1073;&#1099;&#1083; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085; &#1086;&#1090;&#1095;&#1077;&#1090; (&#1057;&#1090;&#1072;&#1085;&#1080;&#1089;&#1083;&#1072;&#1074; &#1043;&#1077;&#1088;&#1084;&#1072;&#1085;-&#1045;&#1074;&#1090;&#1091;&#1096;&#1077;&#1085;&#1082;&#1086;).
&#1047;&#1072;&#1103;&#1074;&#1082;&#1072; #118: &#1058;&#1077;&#1089;&#1090;

    * &#1040;&#1074;&#1090;&#1086;&#1088;: &#1057;&#1090;&#1072;&#1085;&#1080;&#1089;&#1083;&#1072;&#1074; &#1043;&#1077;&#1088;&#1084;&#1072;&#1085;-&#1045;&#1074;&#1090;&#1091;&#1096;&#1077;&#1085;&#1082;&#1086;
    * &#1057;&#1090;&#1072;&#1090;&#1091;&#1089;: &#1053;&#1086;&#1074;&#1099;&#1081;
    * &#1055;&#1088;&#1080;&#1086;&#1088;&#1080;&#1090;&#1077;&#1090;: &#1053;&#1086;&#1088;&#1084;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081;
    * &#1053;&#1072;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1072;:
    * &#1050;&#1072;&#1090;&#1077;&#1075;&#1086;&#1088;&#1080;&#1103;:
    * &#1042;&#1077;&#1088;&#1089;&#1080;&#1103;:

&#1058;&#1077;&#1089;&#1090;&#1086;&#1074;&#1072;&#1103; &#1079;&#1072;&#1076;&#1072;&#1095;&#1072;
&lt;/pre&gt;</description>
  <start_date>2009-07-07</start_date>
  <due_date></due_date>
  <done_ratio>0</done_ratio>
  <estimated_hours></estimated_hours>
  <custom_fields>
    <custom_field name="Affected version" id="1">0.8.4</custom_field>
    <custom_field name="Resolution" id="2">Invalid</custom_field>
  </custom_fields>
  <created_on>Tue Jul 07 15:12:09 +0200 2009</created_on>
  <updated_on>Wed Jul 08 18:06:53 +0200 2009</updated_on>
  <journals>
    <journal id="10067">
      <user name="Stanislav German-Evtushenko" id="1381"/>
      <notes>Please change bug-name to "Encoding problem with receiving emails"</notes>
      <details>
      </details>
    </journal>
    <journal id="10071">
      <user name="Mischa The Evil" id="1565"/>
      <notes>Changed issue-subject as requested...</notes>
      <details>
        <detail old="Codepage problem with receiving emails" name="subject" property="attr" new="Encoding problem with receiving emails"/>
      </details>
    </journal>
    <journal id="10079">
      <user name="Stanislav German-Evtushenko" id="1381"/>
      <notes>Unconfirmed.
It seems as the problem in IMAP server not in Redmine. I'd like to ask to close this issue.</notes>
      <details>
      </details>
    </journal>
    <journal id="10082">
      <user name="Mischa The Evil" id="1565"/>
      <notes>As requested... ;)</notes>
      <details>
        <detail old="9" name="category_id" property="attr" new=""/>
        <detail old="1" name="status_id" property="attr" new="5"/>
        <detail old="" name="2" property="cf" new="Invalid"/>
      </details>
    </journal>
  </journals>
</issue>
