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

Pàgina inicial
Delete this message
Reply to this message
Autor: Ralf G. R. Bergs
Data:  
A: exim-users@exim.org
Assumpte: Re: [Exim] Sender callout verification only for certain domains
On Fri, 09 May 2003 16:59:31 +0100 (BST), Philip Hazel wrote:

>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.


Well, can you then please explain me why MY version (the first version quoted
above) actually works?

When I put a domain into "no_callout" the sender address is NOT checked. For
domains NOT in "no_callout" sender addresses ARE checked. I verified this
myself by talking SMTP to Exim. :-)

To recap: +local_domains contains a list of ALL virtual domains I operate.
"no_callout" contains a list of the domains for which sender verification
should NOT occur.

Which version of the above is correct: The first one (mine) or the second one?

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

>>
>> and
>>
>>              domains  = !EXIM_VIRT_DOM_DIR/no_callout

>
>None.


This I have understood. :-)

Thanks,

Ralf


--
   L I N U X       .~.
  The  Choice      /V\
   of a  GNU      /( )\
  Generation      ^^-^^