On Thu, Sep 02, 2010 at 09:01:44AM -0400, Wietse Venema wrote: > Louis-David Mitterrand: > > On Thu, Sep 02, 2010 at 08:21:06AM -0400, Wietse Venema wrote: > > > Louis-David Mitterrand: > > > > Hi, > > > > > > > > Can I select a specific transport depending on the envelope sender? > > > > > > No, that would break mail delivery with local recipients. > > > > > > You can have sender-dependent relayhost or default_transport, for > > > mail delivery with non-local recipients. > > > > > > http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps > > > http://www.postfix.org/postconf.5.html#sender_dependent_default_transport_maps > > > > The sender_dependent_relayhost_maps is probably what I need. > > > > I tried a sender_dependent_default_transport_maps but it seems overriden > > by transport_maps, isn't it? > > This may come as a surprise, but Postfix behaves as documented.
*gasp* No shit? I guess I had it coming :) But nowhere in the postconf.5.html is it written that "tranport_maps overrides sender_dependent_default_transport_maps". I only see the following "Note: this overrides default_transport, not transport_maps" which is not quite the same.