Darren Pilgrim:
> On 8/22/2014 4:17 AM, Wietse Venema wrote:
> > Darren Pilgrim:
> >> Postfix doesn't appear to do alias resolution on the REDIRECT'ed
> >> address. Do I need to add something to a setting that controls
> >> lookups on redirects?
> >
> > REDIRECT addresses are currently not subject to "before queue"
> > address rewriting. There exists no code do do that.
>
> This is a real problem that means redirect addresses can't be everything
> a normal envelope recipient can be. In my case, the redirected address
> is a role. It must be resolved to real recipients for delivery.
>
> Would it be a lot of effort to not treat redirect addresses differently
> in this regard?
That would require major surgery.
Since you are willing to replace your Postfix installation, I suggest
that you replace it with a version that supports smtp_command_filter.
That feature can replace the entire RCPT TO command as outlined in
my earlier response.
Wietse