On 18/12/14 21:26, Robert Blayzor wrote:
> Actually it's just some perl code I need run in the RCPT TO ACL, so it needed
> to run then, which is early and before Exim receives the message; so there is
> no message-id.
>
> This seemed to do what I want in the router:
>
>
> data = ${if def:message_exim_id {} {${perl{mdir_check}}} }
>
>
> This way it runs only once early on at RCPT ACL time and not again later...
So why not place it actually in the rcpt acl?
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/