[exim] Re: Recipient verification and user .forward files

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: [exim] Re: Recipient verification and user .forward files
On 17/05/2024 19:22, Ian Z via Exim-users wrote:
> But what do you mean by "properly"? How does a router do verification
> "improperly"?


A router depends on all the options set for it. Typically, a router
will only depend on things that are already available at ACL time
(for example, the recipient address in a RCPT-time ACL). This is
perfectly suited for doing a recipient verify test from that ACL.

Doing a recipient verify test from a MAIL-time ACL wouldn't work well.
That counts as a gross misconfiguration. But doing a sender verify
would be fine.

It's also possible to write "clever" and complex options on routers,
which depends on information that is developed by the time actual
delivery routing is done, but was not available at the point
in an ACL that one would typically be doing a verify.

Chris' posit was "headers or ACL variables only set [when the message
is fully received]". I'll expand that to "for example, something set
by your DATA ACL, which one of your router definitions relies on
(because you set a router option with an expansion using it)".

Most people do not do that.
--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/