On Mon, Mar 05, 2012 at 08:05:54PM -0500, Wietse Venema wrote:
> 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?
Just sender addresses.
--
Ben Rosengart "Like all those possessing a library,
Sendmail, Inc. Aurelian was aware that he was guilty of
+1 718 431 3822 not knowing his in its entirety [...]"
-- Jorge Luis Borges
NOTICE: If received in error, please destroy and notify sender.
Sender does not waive confidentiality or privilege, and use is prohibited.