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

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Sherwood Botsford
CC: exim-users
Subject: 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/ ***