Ben Rosengart:
> > then use smtp_generic_maps, to convert from the Postfix-canonical
> > form to that specific external form.
> 
> So use transport(5)?  If I want to rewrite to form x, use transport x and
> x_generic_maps, and then transport y and y_generic_maps for form y, etc?

Yes. I did context-dependent output rewriting in Sendmail many years
before I got involved with Postfix.

> That makes sense; and I see in ldap_table(5) a pattern for using LDAP
> to drive transport decisions.
> 
> The next question is, how to make all this conditional on the ACL match?

I pray for you that this can be done in the LDAP/SQL query. Otherwise,
I will decline trying to jump lots of hoops. Postfix can emulate
only so much before things get too complicated.

        Wietse

Reply via email to