Re: [exim] match_domain and domain lists

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: David Saez Padros
CC: EXIM mailing list
Assumpte: Re: [exim] match_domain and domain lists
On Sun, 6 Nov 2005, David Saez Padros wrote:

> it would be nice if match_domain or a similar function could match
> subdomain names usings lists, i.e:
>
> if local_parts=example.com:foo.bar
>
> match_domain{subdomain.example.com}{+local_parts}
>
> should also match (now it does not)


If you want a partial match, you can specify one:

domainlist local_parts = example.com:*.example.com:foo.bar

or use a regular expression.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book