I hope you realize that the sender (with the cooperation of his ISP)
determines which mail server his outgoing mail goes through. It often isn't
associated with the domain name of his email address.

Having said that, you should have no problem in configuring a single
instance of postfix to support multiple domain names (virtual domains),
complete with their own (virtual) mail server addresses. Thus
sen...@domaina.com could send his mail throughmail.domainA.com and
sen...@domainb.com could send hers through mail.domainB.com where both mail
servers are in reality the same.

On Tue, Oct 27, 2009 at 3:32 PM, Marcelo Iturbe <marcelo.itu...@gmail.com>wrote:

>
> Hello,
> I have the following need:
> - Setup a postfix server wich has 2 interfaces
> - All emails where the SENDER is @domainA.com is to be sent from interface
> 1
> - All emails where the SENDER is @domainB.com is to be sent from interface
> 2
> - Interface 1 will only receive email which is for domainA.com
> - Interface 2 will only receive email which is for domainB.com
>
> Can this be done?
> Would this be installing 2 parallel versions of postfix and each one binds
> to a diferent interface?
>
> Would the simplest thing be to just virtualize the box?
>
> Thanks for your feedback
>
>

Reply via email to