* Luis Esteves <[email protected]>:
> 
> Hi everybody,
> 
> We have a Postfix server that route mail for a specific domain to a remote
> host.
> 
> The confugration is set in the transport file :
> 
> domain1.com       relay:[@IP]
> 
> 
> I need to configure Postfix to route messages for a lot of users from
> domain1.com to a different remote host.
> 
> In order to do that, I add the following line to the transport file :
> 
> [email protected]            relay:[@IP2]
> [email protected]            relay:[@IP2]
> [email protected]            relay:[@IP2]
> [email protected]            relay:[@IP2]
> ...
> [email protected]          relay:[@IP2]
> 
> 
> Question :
> 
> I'd like to setup the user specific configuration and domain in different
> transport files (to have a cleaner configuration).
> 
> Is it possible to setup 2 transport files (one for domains and one for user
> specific) ?

Yes, arrange more specific info to be read first. See also "TABLE SEARCH
ORDER" in man 5 transport.

p@rick


> 
> e.g.
> 
> main.cf :
> transport_maps = hash:/opt/pmx/postfix/etc/transport,
> hash:/opt/pmx/postfix/etc/transport_users
> 
> Thanks,
> Luis
> -- 
> View this message in context: 
> http://old.nabble.com/Multiple-Transport-files-tp31447850p31447850.html
> Sent from the Postfix mailing list archive at Nabble.com.
> 

-- 
All technical questions asked privately will be automatically answered on the
list and archived for public access unless privacy is explicitely required and
justified.

saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>

Reply via email to