> On 12 Jul 2021, at 12:43 pm, post...@ptld.com wrote:
> 
> When postfix looks up an address it repeats the query for each section of an 
> address.
> 
>    %s = u...@example.com
>    %s = example.com
>    %s = com
> 
> Is there a way on a single check_recipient_access to tell postfix to only 
> check the full address, only do the query once?
> 
>    %s = u...@example.com
>    [Stop, no more queries]

If you add:

        # Replace example.com with one or more appropriate domains:
        domain = example.com

to the table definition, all the lookup keys will be user@domain, with no
bare domain or parent domain keys.

-- 
        Viktor.

Reply via email to