[exim] Re: Using flat lists of domains in exim.conf domain l…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Adam Funk
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] Re: Using flat lists of domains in exim.conf domain lists and lookup expansions.
On 2006-03-20, Phil Pennock <exim-users@???> wrote:

>>    queue_smtp_domains = /etc/foo0 : /etc/foo1

>
> Yes. But note that *.example.com does not match example.com; you need
> both entries.


I knew that, but it's always worth pointing out.

>> What would be the syntax for saying "don't issue warnings if the
>> domain is in either of these two files, taking initial '*.' into
>> consideration"? I'd like to be able to use entries like
>> "*.example.com" here too.
>
>  domainlist defer_warning_domains = /etc/foo0 : /etc/foo1
>  #...
>  delay_warning_condition = ${if match_domain{$domain}{+defer_warning_domains} \
>      {no}{yes}}

>
> match_domain is available from Exim 4.33 onwards.


Perfect, thanks a lot!


A suggestion for the documentation: would it be a good idea to put the
expansion conditions' names in the index?

--
Thanks,
Adam