Lähettäjä: Bill Hacker Päiväys: Vastaanottaja: exim Aihe: Re: [exim] match_domain and domain lists
David Saez Padros wrote:
> Hi !!
>
> for the wishlist:
>
> 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)
>
But it would no longer be doing what it's name implies:
match the *domain* (only)
Adding prefixes to make a 'subdomain' changes the 'domain' not at all,
and being able to find *only* that, with or without prefixes, is important.
Exim has several ways of handling the longer string, or even just
selected parts of it.