By default, local_recipient_maps looks something like this, and to be
(locally) delivered something must have an envelope recipient in here.
In fact, SMTP milters are not called until after this check is made:

    local_recipient_maps = proxy:unix:passwd.byname $alias_maps

I want to call a milter as a "bump in the wire" before this check to
potentially alter local recipients prior to them ricocheting off of all
of that shininess. I've read through
http://www.postfix.org/SMTPD_PROXY_README.html and it talks about
milters but the topology shown doesn't look right:

**SHOWN**

net -> Postfix -> filter -> Postfix

**DESIRED**

net -> Postfix -> Postfix
          ^          ^
          |          |
          v          v
       milter     local_recip_maps

If it can't be done with Postfix, is there a milter I could chain to
which does the equivalent of the built in local_recipient_maps?

The objective is to preserve the ability to reject recipients during the
SMTP conversation.

Thanks in advance...

--

Fred Morris

Reply via email to