Re: [EXIM] local domains: handling exeptions

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Steve Rawlinson
CC: exim-users
Assunto: 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/ ***