Re: [Exim] Cyrus/Exim incompatibility

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Phil Pennock
Kopio: Andy Hedges, 'exim-users@exim.org'
Aihe: Re: [Exim] Cyrus/Exim incompatibility
On Fri, 25 Jan 2002, Phil Pennock wrote:

> On 2002-01-25 at 13:51 +0000, Philip Hazel wrote:
> > RFC 2822 messages are defined in terms of lines, but different OS use
> > different ways of terminating lines. Some use CR, some use LF, some use
> > CRLF, and some use none of the above. So if you want to do hash
> > operations, you had better do them on the data in the lines, excluding
> > the terminating characters (if any).
>
> Which pre-supposes that the line-terminators are insignificant.


Indeed. In messages passed between hosts, since they must always be
CRLF, they surely are insignificant.

> There's an RFC which encourages taking the hash over the message with
> all line-termination set to CRLF first.


That is certainly one way of doing it, of course. I can't see that it's
any more valid that taking the hash over the message with all
line-termination removed. But as long as there is an agreed scheme, I
can't say that I mind which it is.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.