Ben Rosengart:
> On Mon, Mar 05, 2012 at 02:30:16PM -0500, Wietse Venema wrote:
> > 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.
>
> Alright. I have an ldap_table(5)-based map which, I have verified,
> returns "sometransport:" when the input key corresponds to one type of
> LDAP object, and "" otherwise. This is good, I think.
>
> However, the input key needs to be the sender address -- so should I
> be using sender_dependent_default_transport_maps? transport(5) is not,
> as far as I can tell, going to do it for me.
You need to rewrite (sender and non-sender) addresses based on the sender?
Wietse