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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Juha Saarinen
Kopio: Peter Savitch, exim-users
Aihe: 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