[CentOS] Large scale Postfix/Cyrus email system for 100,
mattboston at gmail.com
Tue Oct 23 16:28:46 UTC 2007
On 10/23/07, mouss <mlist.only at free.fr> wrote:
> There are primarily two ways:
> [virtual aliase]
> you can use virtual_alias_maps to redirect foo at example.com to
> foo at hostN.example.com, 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.
> an laternative is to use use (per-user) transport_maps. something like
> foo at example.com 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.
More information about the CentOS