Disclaimer: This is speculation on my part based on observed behaviour. I haven't checked the code.
I'm having problems with SM not being able to read some forwarded mail.
I've narrowed it down to it fudging things up whenever the
Content-Transfer-Encoding needs to be respected.
System info:
SquirrelMail version: 1.4.19-2.fc10
Config file version: 1.4.0
PHP version 5.2.9 OK.
Apache 2.2.14
Example 1:
--MP_/o3O7jrc9fSPahrN_sey+cYI
Content-Type: message/rfc822
Content-Transfer-Encoding: base64
Content-Disposition: inline
UmVjZWl2ZWQ6IGJ5IG1haWwuY2VuZGlvLnNlIChQb3N0Zml4LCBmcm9tIHVzZXJpZCAxMDIpDQoJ
aWQgRDQ4NjMxMzhFMzI7IFR1ZSwgMjMgTWFyIDIwMTAgMDk6NTQ6MDIgKzAxMDAgKENFVCkNClgt
U3BhbS1DaGVja2VyLVZlcnNpb246IFNwYW1Bc3Nhc3NpbiAzLjIuNSAoMjAwOC0wNi0xMCkgb24g
bWFvLmNlbmRpby5zZQ0KWC1TcGFtLUxldmVsOiANClgtU3BhbS1TdGF0dXM6IE5vLCBzY29yZT0t
Mi43IHJlcXVpcmVkPTUuMCB0ZXN0cz1BV0wsQkFZRVNfMDAgYXV0b2xlYXJuPWhhbQ0KCXZlcnNp
b249My4yLjUNClJlY2VpdmVkOiBmcm9tIG9zc21hbi5sa3BnLmNlbmRpby5zZSAoZG16LWd3LmNl
bmRpby5zZSBbMTkzLjEyLjI1My45N10pDQoJYnkgbWFpbC5jZW5kaW8uc2UgKFBvc3RmaXgpIHdp
dGggRVNNVFAgaWQgM0FFMEYxMzhFMzINCglmb3IgPG9zc21hbkBjZW5kaW8uc2U+OyBUdWUsIDIz
IE1hciAyMDEwIDA5OjU0OjAyICswMTAwIChDRVQpDQpEYXRlOiBUdWUsIDIzIE1hciAyMDEwIDA5
OjU0OjAxICswMTAwDQpGcm9tOiBQaWVycmUgT3NzbWFuIDxvc3NtYW5AY2VuZGlvLnNlPg0KVG86
IG9zc21hbkBjZW5kaW8uc2UNClN1YmplY3Q6IEZvcndhcmRlZCBtYWlsDQpNZXNzYWdlLUlEOiA8
MjAxMDAzMjMwOTU0MDEuM2RlMTM3ZGRAb3NzbWFuLmxrcGcuY2VuZGlvLnNlPg0KT3JnYW5pemF0
aW9uOiBDZW5kaW8gQUINClgtTWFpbGVyOiBDbGF3cyBNYWlsIDMuNy40IChHVEsrIDIuMTYuNjsg
eDg2XzY0LXJlZGhhdC1saW51eC1nbnUpDQpNaW1lLVZlcnNpb246IDEuMA0KQ29udGVudC1UeXBl
OiB0ZXh0L3BsYWluOyBjaGFyc2V0PVVURi04DQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiA4
Yml0DQoNClVuaWNvZGU6IMOlDQoNCi0tIA0KUGllcnJlIE9zc21hbiAgICAgICAgICAgIE9wZW5T
b3VyY2UtYmFzZWQgVGhpbiBDbGllbnQgVGVjaG5vbG9neQ0KU3lzdGVtIERldmVsb3BlciAgICAg
ICAgIFRlbGVwaG9uZTogKzQ2LTEzLTIxIDQ2IDAwDQpDZW5kaW8gQUIgICAgICAgICAgICAgICAg
V2ViOiBodHRwOi8vd3d3LmNlbmRpby5jb20NCg==
--MP_/o3O7jrc9fSPahrN_sey+cYI--
Result:
SM shows no headers, and the base64 blob above as the body.
Example 2:
--MP_/eOTQotcY5ecL83ERqkl_AwR
Content-Type: message/rfc822
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Received: by mail.cendio.se (Postfix, from userid 102)
id D4863138E32; Tue, 23 Mar 2010 09:54:02 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mao.cendio.se
X-Spam-Level:=20
X-Spam-Status: No, score=3D-2.7 required=3D5.0 tests=3DAWL,BAYES_00 autolea=
rn=3Dham
version=3D3.2.5
Received: from ossman.lkpg.cendio.se (dmz-gw.cendio.se [193.12.253.97])
by mail.cendio.se (Postfix) with ESMTP id 3AE0F138E32
for <[email protected]>; Tue, 23 Mar 2010 09:54:02 +0100 (CET)
Date: Tue, 23 Mar 2010 09:54:01 +0100
From: Pierre Ossman <[email protected]>
To: [email protected]
Subject: Forwarded mail
Message-ID: <[email protected]>
Organization: Cendio AB
X-Mailer: Claws Mail 3.7.4 (GTK+ 2.16.6; x86_64-redhat-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=3DUTF-8
Content-Transfer-Encoding: 8bit
Unicode: =C3=A5
--=20
Pierre Ossman OpenSource-based Thin Client Technology
System Developer Telephone: +46-13-21 46 00
Cendio AB Web: http://www.cendio.com
--MP_/eOTQotcY5ecL83ERqkl_AwR--
Result:
SM thinks everything up to "rn=3Dham" is headers and the rest is body.
Conclusion:
Based on this, I'm guessing that SM doesn't honour the
content-transfer-encoding and just feeds the attachment as-is to the
rfc822 parser.
Rgds
--
Pierre Ossman OpenSource-based Thin Client Technology
System Developer Telephone: +46-13-21 46 00
Cendio AB Web: http://www.cendio.com
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
