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

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Juha Saarinen
CC: Peter Savitch, exim-users
Assunto: 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