[Evolution-hackers] Re: [Evolution] GPG signed message corrupted when sent using "Sendmail"



Hi Frederic,

Discussed this with Jeff, seems that it is only your version of postfix
(he mentioned it so i assume thats that mdk uses) which is adding the
extra line, Ettore uses it, and doesn't have this problem, also Jeff
tested with sendmail with no problem.

We're sending out
Content-Type: ...\r\n
\r\n
content

and its being convrted to
content-type: ...\n
\n
\n
content

by postfix.  afaik we should be able to send out that format to external
tools (the smtp protocol requires it for instance), with it being
properly understood ...

We could convert \r\n to \n, i _think_ it should be ok, but we shouldn't
have to.

Thoughts?

(i've moved this to evolution-hackers).


On Thu, 2003-03-06 at 03:42, Frederic Crozat wrote:
> Hi,
> 
> it seems Evolution is "corrupting" GPG signed email when they are sent
> using "sendmail" option.
> 
> You can see a bug report for this problem here :
> http://qa.mandrakesoft.com/show_bug.cgi?id=1316
> 
>  was able to duplicate it using Evolution 1.2 CVS branch (ie with the
> latest GPG fixes Jeff did), doing the following :
> 
> sending the same email to myself, only switching from SMTP to Sendmail.
> SMTP is sending the mail to localhost, so I'm using the same MTA
> (postfix)..
> 
> I've attached the resulting email : You can see email sent using
> sendmail option got a extra line return, which is causing signature to
> be broken..
> 
> I guess the problem is in camel/provider/camel-sendmail-transport.c (by
> comparing it with camel-smtp-transport.c, I would say it lacks the CRLR
> filtering) but since I'm not a camel hacker, I'm not 100% percent sure..
> 
> Jeff, I've taken the liberty to Cc: you directly because it is a fairly
> important bug and I'd really like to be able to fix it before shipping
> Mdk 9.1..
> -- 
> Frederic Crozat <fcrozat mandrakesoft com>
> MandrakeSoft
> 
> ______________________________________________________________________
> 
> >From a cuba mandrakesoft com Wed Mar 5 16:55:42 2003
> Return-Path: <a cuba mandrakesoft com>
> X-Original-To: a localhost
> Delivered-To: a localhost mandrakesoft com
> Received: by cuba.mandrakesoft.com (Postfix, from userid 501) id 24570CDE2;
> 	Wed,  5 Mar 2003 16:55:42 +0100 (CET)
> Subject: test evo CVS 3
> From: a <a cuba mandrakesoft com>
> To: a localhost mandrakesoft com
> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-TtTh9FOT3QnlLnnxufGW"
> Organization: 
> Message-Id: <1046879741 11103 7 camel cuba mandrakesoft com>
> Mime-Version: 1.0
> X-Mailer: Ximian Evolution 1.2.2.99 
> Date: 05 Mar 2003 16:55:42 +0100
> Status:   
> X-Evolution-Source: pop://a localhost
> 
> 
> --=-TtTh9FOT3QnlLnnxufGW
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
> 
> 
> test evo CVS 3
> --=20
> a <a cuba mandrakesoft com>
> 
> --=-TtTh9FOT3QnlLnnxufGW
> Content-Type: application/pgp-signature; name=signature.asc
> Content-Description: This is a digitally signed message part
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQA+Zh39Y5VNGSuy5U8RAvtGAKCaFjEWM6Wkyn7G9JsTUcYHKQHykACgl+c5
> I5is0yQ/bP70Ay11TY2aIhg=
> =weoO
> -----END PGP SIGNATURE-----
> 
> --=-TtTh9FOT3QnlLnnxufGW--
> 
> ______________________________________________________________________
> 
> >From a cuba mandrakesoft com Wed Mar 5 16:57:51 2003
> Return-Path: <a cuba mandrakesoft com>
> X-Original-To: a localhost
> Delivered-To: a localhost mandrakesoft com
> Received: from localhost (localhost.localdomain [127.0.0.1]) by
> 	cuba.mandrakesoft.com (Postfix) with ESMTP id 4AB17CDE2 for <a localhost>;
> 	Wed,  5 Mar 2003 16:57:51 +0100 (CET)
> Subject: test evo CVS 3
> From: a <a cuba mandrakesoft com>
> To: a localhost mandrakesoft com
> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hRVI9Zguy+CRnKMwwSBy"
> Organization: 
> Message-Id: <1046879870 11103 12 camel cuba mandrakesoft com>
> Mime-Version: 1.0
> X-Mailer: Ximian Evolution 1.2.2.99 
> Date: 05 Mar 2003 16:57:50 +0100
> Status:   
> X-Evolution-Source: pop://a localhost
> 
> 
> --=-hRVI9Zguy+CRnKMwwSBy
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
> 
> test evo CVS 3
> --=20
> a <a cuba mandrakesoft com>
> 
> --=-hRVI9Zguy+CRnKMwwSBy
> Content-Type: application/pgp-signature; name=signature.asc
> Content-Description: This is a digitally signed message part
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQA+Zh5+Y5VNGSuy5U8RAlMsAKCElaHszIQhJ4sHLv5qz7E3fJh0oQCgspUg
> V58qbpVlq+6x/5yxSx8srk0=
> =i76V
> -----END PGP SIGNATURE-----
> 
> --=-hRVI9Zguy+CRnKMwwSBy--




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]