On 10/23/07, mouss <mlist.only@xxxxxxx> wrote: > There are primarily two ways: > > [virtual aliase] > you can use virtual_alias_maps to redirect foo@xxxxxxxxxxx to > foo@xxxxxxxxxxxxxxxxx, provided the final server accepts such addresses. > > If the final server doesn't accept these, and you use smtp to relay to, > then you can write the addresses back, using smtp_generic_maps. > > [transport] > an laternative is to use use (per-user) transport_maps. something like > > foo@xxxxxxxxxxx relay:[hostN.example.com] > > > In bothe approaches, the mappings can be generated using sql statements > (mostly CONCAT). something like > ... > query = SELECT concat('relay:[', host, '.example.com]') > FROM User > where '%u' = user and '%d' = domain > > you get the idea I hope. > > > > > > > Anyone have a working example that they could share? It would be > > greatly appreciated. > > Forward's aren't acceptable. There is a way to do it with the transport function and lmtp on a account by account basis. I'm looking for real world configs from someone that has this working. -matt _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos