Re: [EXIM] small recipe, and caution...

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Sherwood Botsford
Cc: exim-users
Asunto: Re: [EXIM] small recipe, and caution...
On Wed, 14 Jan 1998, Sherwood Botsford wrote:

> What I wanted was
> sender_reject = "^[0-9]+@.*"


or even

sender_reject = "^[0-9]+@"

which will save a small amount of processing, since having .* at the end
of a regex doesn't buy you anything. Also

sender_reject = "^\\d+@"

will probably be faster still. (You need to double the \ because of the
quotes. Omit the quotes, and you needn't double the \.)

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***