RE: [exim] Regexp for catching "prefixed" Message-ID: fields…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Peter Savitch
CC: Philip Hazel
Asunto: RE: [exim] Regexp for catching "prefixed" Message-ID: fields?
On Fri, 17 Sep 2004, Peter Savitch wrote:

> I am sorry, but does Exim prefix the headers with '\n' when generating
> $message_headers var?
>
> I mean
>
> "\nHeader1: Value1\nHeader2: Value2\n"
>
> or
>
> "Header1: Value1\nHeader2: Value2\n"


The second. But Message-ID should never be first - there will always be
a Received: header. Actually that's not true; you can cut that out. So
the really accurate regex should start off (^|\n) I suppose.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book