On 9/3/2011 1:52 PM, Nikolaos Milas wrote:
> On 3/9/2011 9:41 μμ, Noel Jones wrote:
> 
>> To accept mail for specified subdomains, add those domains to the
>> relay_domains parameter.  This is the recommended solution.
> 
> Thanks Noel,
> 
> And to route incoming mails to different mail servers would we use:
> 
>    transport_maps = hash:/etc/postfix/transport
> 
>    /etc/postfix/transport:
>          example.com   smtp:[mailserver1.example.com]
>          sub1.example.com  smtp:[mailserver1.example.com]
>          sub2.example.com  smtp:[mailserver1.example.com]
>          sub3.example.com  smtp:[mailserverx.sub3.example.com]
>          ...
> 


Yes, although you may want to use relay: rather than smtp: as the
transport name.  The different name allows postfix to more
efficiently schedule delivery for those domains, and allows you to
use different relay delivery settings if needed.



  -- Noel Jones

Reply via email to