RE: [exim] Domain List and wild cards

Góra strony
Delete this message
Reply to this message
Autor: Ian Eiloart
Data:  
Dla: exim-users
Temat: RE: [exim] Domain List and wild cards


--On 27 October 2005 01:45:47 +0100 Mark Smith <exim-users@???> wrote:

>
>> I've tried the following domainlist versions, but none seem to work:
>>
>> domainlist local_domains = ^domain-*-01
>> domainlist local_domains = \N^domain-*-01\N
>>
>> Can I use wildcards in a domainlist? It seems from the
>> documentation that I can, from the 4th and 5th bullet points
>> in section '10.8 Domain Lists' of the manual.
>>
>> What totally obvious point am I missing?
>>
>
> Replace the "*" with "."


Or, ".*" if you want to match more than one character.

Read up on Perl Compatible Regular Expressions (PCRE) if you want to know
more about this topic. <http://www.pcre.org/>

> - Mark




--
Ian Eiloart
Servers Team
Sussex University ITS