Re: [EXIM] local domains: handling exeptions

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Steve Rawlinson
Cc: exim-users
Asunto: Re: [EXIM] local domains: handling exeptions
On Thu, 29 Oct 1998, Steve Rawlinson wrote:

> If I want to match all local domains in the form
>
> local_domains=*.yoyo.org
>
> but want a few exceptions, for instance I dont want mitnick.yoyo.org or
> lairg.yoyo.org to be treated as local, what is the best way to do this?


local_domains = ^(?!mitnick|lairg).*\.yoyo\.org$

Regular expressions are your friend.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



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