From xemacs-m  Thu Feb 27 20:15:54 1997
Received: from jupiter.scs.Ryerson.CA (root@jupiter.scs.Ryerson.CA [141.117.18.31])
	by xemacs.org (8.8.5/8.8.5) with SMTP id UAA10967
	for <xemacs-beta@xemacs.org>; Thu, 27 Feb 1997 20:15:54 -0600 (CST)
Received: by jupiter.scs.Ryerson.CA id <10829(3)>; Thu, 27 Feb 1997 21:16:15 -0500
From: Dave Mason <dmason@scs.Ryerson.CA>
To: xemacs-beta@xemacs.org
Subject: Re: Bug in vm
In-Reply-To: <QQcety03441.199702280136@crystal.WonderWorks.COM>
References: <199702271328.OAA09887@daedalus.tnt.uni-hannover.de>
	<kigene2xsje.fsf@jagor.srce.hr>
	<QQcetr02047.199702272348@crystal.WonderWorks.COM>
	<kiglo89u78u.fsf@jagor.srce.hr>
	<QQcett02558.199702280027@crystal.WonderWorks.COM>
	<97Feb27.200413edt.10827(2)@jupiter.scs.Ryerson.CA>
	<QQcety03441.199702280136@crystal.WonderWorks.COM>
X-Face: %Q_F^9R-:'3MM7eZ6@E.x@f\*bgatzGv-8d%I~L[p^.F)3QF{kq\UTsu|e#?)3FPwJNvPPB
 !s*He|-*M^p*~bh"Nywm5NLL\\Rl3r(hWHY*F:$/RdKV*bS";n&#\Ov@*=]mu\}6tP<lkW*7FT|:Dm
 9ejO^{)GHJdPQaa"C\<Ak`K27?328'V(u*|jAEZR9-z!o\^j:Cb&*tx_9\KbXD*2
Message-Id: <97Feb27.211615edt.10829(3)@jupiter.scs.Ryerson.CA>
Date: 	Thu, 27 Feb 1997 21:16:13 -0500

Kyle Jones writes:
> I should have said that it would not be safe using VM's QP
> encoder, which doesn't convert newlines to =OA.  If you don't
> convert all newlines to =OA the newlines that sendmail encounters
> will be converted to CRLF pairs for SMTP.  This will corrupt
> binary data if the remote side doesn't use the same newline
> convention.

How about 3 levels:
1) when you currently use QP:
	the QP encoding that you currently use,
2) <1/6 needs quoting:
	use QP encoding, but you add \n -> =0A=\n so it is still
	readable but safe,
3) >1/6 needs quoting:
	use base64

../Dave

