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

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Juha Saarinen
CC: Peter Savitch, exim-users
Subject: Re: [exim] Regexp for catching "prefixed" Message-ID: fields?
On Fri, 17 Sep 2004, Juha Saarinen wrote:

> No, I was thinking that I should treat Blah-Message-ID as Message-ID,
> if it's a commonly used header format.


You could use a regex to check for the presence of \n[^:]*Message-ID: in
$message_headers.

But if you want to check for standard conformance, you should be
checking only for Message-ID (and possibly Resent-Message-ID).

-- 
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