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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ian Z via Exim-users
Date:  
À: exim-users
Sujet: [exim] Re: Recipient verification and user .forward files
On Fri, May 17, 2024 at 09:05:15PM GMT, Jeremy Harris via Exim-users wrote:

> > It doesn't look like the address_data way of getting the forwading
> > address will work for full sieve / exim filters, does it?


Chris already went most of the way to answering this (in the
negative). So feel free to let this die if you prefer.

> If


> - the redirect router that runs the filter has not disabled itself
> for verify (cf. the no_verify option)
> - the router permits filters
> - the filter is accessible to the UID that exim runs as during reception
> (eg. "exim" - but Deb uses some other name which I forget)
> - the filter results in a "username@dmain" result, as opposed to
> filename, directory name, "pipe command", or one of the :<foo>:
> specials


> then the mail address resulting from the filter "is routed independently".


                        ^^^^^^^^^


The gotcha is the highlighted step. In the situation I asked about,
the filter won't "result" in the right address because the information
it depends on for deciding is not available at RCPT time. Hopefully
those expansions will just evaluate empty and not make exim crash.

One workaround would be to delay recipient verification until the DATA
checking ACL, but I have good reasons not to do that, basically
"rejecting early" as Chris writes.

--
Ian

--
## 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/