Re: [Exim] verify/callout

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Kevin P. Fleming
Date:  
À: Phil Chambers
CC: exim-users
Sujet: Re: [Exim] verify/callout
Phil Chambers wrote:
> I am just working through the ACLs produced by convert4r4 to make sure they do what
> I want and am considering adding /callout to my verify=recipient statement.
>
> I only want the callout when the recipient is on one of the hosts on my network
> which I am MX for. I am confident that these hosts will respond quickly. I do not
> want to callout to arbitrary hosts which may take an age to respond.
>
> Does that mean I have to use two verify=recipient statements:
>
> require verify = recipient
> accept domains = ! +hosts_i_mx_for
> require verify = recipient/callout
>
> If so, it seems rather wasteful.
>
> Phil.
> ---------------------------------------
> Phil Chambers (postmaster@???)
> University of Exeter
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


No, use two separate ACL entries, and invert the sense of them:

deny domains = +hosts_i_mx_for
      ! verify = recipient/callout


deny ! domains = +hosts_i_mx_for
      ! verify = recipient