What about using relay_domains and relay_recipient_maps. I am using this
to forward mail do an IMAP-server, but this doesn't matter.
Example modified from my config:
relay_domains =
${ldap}/relay_domains.cf
relay_recipient_maps =
pcre:${map}/roleaccount.pcre,
${ldap}/relay_recipient_
> I have a Postfix/MailScanner front-end set up which works well, however
> I'm not sure I've configured it correctly (or in the best way)...
>
> The box uses header_checks to place all incoming messages in the hold
> queue (standard stuff) and transport_maps define which mail server the
> mail ge