Re: [Exim] Sender callout verification only for certain doma…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Ralf G. R. Bergs
CC: exim-users ML
Sujet: Re: [Exim] Sender callout verification only for certain domains
On Fri, 9 May 2003, Ralf G. R. Bergs wrote:

> >>   deny    domains  = +local_domains
> >>           !domains = EXIM_VIRT_DOM_DIR/no_callout
> >>           !verify  = sender/callout=20s/check_postmaster

> >
> >That should probably be more like
> >
> >    deny    domains  = !EXIM_VIRT_DOM_DIR/no_callout : +local_domains
> >            !verify  = sender/callout=20s/check_postmaster

>
> Can you explain why you changed the order of the two lists? Just a matter of
> optimization? (Because no_callout is a subset of +local_domains.)


It wasn't me, but the answer is No. Domain lists are processed from left
to right. Therefore, exceptions must come before the thing they are an
exception for.

> And what is the difference between
>
>              !domains = EXIM_VIRT_DOM_DIR/no_callout

>
> and
>
>              domains  = !EXIM_VIRT_DOM_DIR/no_callout


None.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.