|Main Archive Page > Month Archives > postfix-users archives|
[ Charset ISO-8859-1 unsupported, converting... ]
> The situation is thus:-
> I wish to provide a v6-to-v4 relay for two different domains using the
> same postfix process. Mail for the domains is hosted by google, so the
> destination host will be ASPMX.L.GOOGLE.com. for both domains. However,
> recently my ipv4 provider has blocked outgoing tcp:25 so now I must use
> tcp:587 using TLS and authentication. The problem is that I need to use
> two different credentials depending upon the domain for which the
> message is being relayed.
> firstname.lastname@example.org -> postfix -> ASPMX.L.GOOGLE.com. (user: domain1)
> email@example.com -> postfix -> ASPMX.L.GOOGLE.com. (user: domain2)
> How do I configure this?
1) Use separate Postfix MTA instances for each domains. See:
2) Use one Postfix MTA instance with sender-dependent personalities. See:
and configure mail delivery transports
smtp-for-domain1 . . . . . . . smtp
smtp-for-domain2 . . . . . . . smtp
overrides in master.cf.
See: http://www.postfix.org/master.5.html for master file syntax.