postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Postfix as TLS client using different credent

Re: Postfix as TLS client using different credentials for same SMTP host

From: Victor Duchovni <Victor.Duchovni_at_nospam>
Date: Mon Oct 11 2010 - 19:22:25 GMT
To: Chris Hills <>

On Mon, Oct 11, 2010 at 07:56:40PM +0100, Chris Hills wrote:

> Hi
> 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 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.
> i.e.
> -> postfix -> (user: domain1)
> -> postfix -> (user: domain2)

This is a SASL issue, not a TLS issue. TLS works the same way in either
case. It sounds like the SASL credentials here are sender-dependent.
You can use the solution described in

-- Viktor.