Re: [Exim] trying to understand how acl_check_rcpt works

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Adam D. Barratt
Date:  
À: exim-users
Sujet: Re: [Exim] trying to understand how acl_check_rcpt works
On Thursday, May 20, 2004 12:29 PM, Kurt Lieber <klieber@???> wrote:

> I'm following through one of the examples in the exiscan-acl examples
> FAQ[1] and have a question about how it uses acl_check_rcpt. Given
> the following (shortened) code:

[...]
> On line 10, the ACL is checking for $acl_m0 and comparing it against
> a list of domains. However, what I don't understand is how $acl_m0
> can possibly be set at that point -- the "set acl_m0" command doesn't
> occur until later in the ACL (lines 19 and 25). So won't that first
> defer stanza always be false?


For the first recipient, yes. It would be rather broken if not. :)

> Does the acl_check_rcpt ACL get run through more than once during a
> typical message session?


Once for each recipient.

Adam