Chris Knadle wrote:
>
>> 2) set address_data in the router where you use local_parts_suffix, and
>> use $address_data in the ACL after recipient verification
>
> The reason that I don't want to do this in a router is that I am trying to
> do these checks during the initial rcpt checks, before the contents of the
> message is ever sent. This avoids generating unecessary bounce messages
> resulting from an address failure during the router. [I don't want to be a
> source of backscatter.]
I think you missed the point of what I wrote: "in the ACL after
recipient verification".
If the manipulation of the recipient address is done in the router, and
you set address_data in that router, you can then test address_data in
your ACL (at SMTP time) after doing recipient verification. See the
documentation for $address_data in chapter 11.
- Marc