On Oct 17, 2013 4:59 PM, "Roel Bouwman" <r...@qsp.nl> wrote:
>
> Hello,
>
> I've been trying to simplify our multi-instance Postfix setup,
> however, I'm wondering whether it's actually possible. So I
> was wondering if anyone could tell me whether my idea is futile
> or could actually work.
>
> Let me explain.
>
> We run SMTP services for multiple organisations on a cluster
> of systems. Each of those organisations has two inbound smtpd
> processes provisioned (using their own unique port numbers).
> One is for plain SMTP and one is for TLS. Both have custom
> settings, e.g. for SSL certificates, hostnames, etc.
>
> This configuration is duplicated on each system in the cluster and
> loadbalancers route inbound traffic from a customers' service-IP
> to one of those smtpd process ports.
>
> That's all pretty straightforward and works as expected.
>
> However, where seperating outbound traffic is concerned things
> get interesting. For most of our customers, this is of no
> concern, outbound traffic is simply routed through the main
> system's IP address, regardless of which inbound process has
> accepted it.
>
> There are a few clients however for which we source outbound
> traffic from a different IP address. This is currently done
> by handling these in a seperate postfix instance, with their
> own queue directory, configuration, etc.
>

Have you considered use sender_dependent_default_transport_maps ?

José Borges Ferreira

Reply via email to