Re: [EXIM] local domains: handling exeptions

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Steve Rawlinson
CC: exim-users
Assumpte: 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/ ***