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

Top Pagina
Delete this message
Reply to this message
Auteur: Philip Hazel
Datum:  
Aan: Peter Savitch
CC: Philip Hazel
Onderwerp: 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