Re: Setup HAProxy as a Forward Proxy for SMTP

2021-05-06 Thread John Lauro
If you want them to all use the same outgoing IP, you could place them behind a NAT router instead of using outgoing proxy server. That said, if you do want to use haproxy, I think you will want to use the "usesrc client" on the haproxy config and the haproxy server will also need the prerouting

Re: Setup HAProxy as a Forward Proxy for SMTP

2021-05-06 Thread Brizz Bane
No. PowerMTA would not be the last hop, because then it would be using the IPs that the PowerMTA Server is on. I am wanting PowerMTA -> HAProxy -> t...@gmail.com >From the article: This allows customers to deploy all their source IPs on an external proxy server instead of being deployed on the

Re: Setup HAProxy as a Forward Proxy for SMTP

2021-05-06 Thread Baptiste
Hi, >From the first link, I understand you're trying to do the following: user MUA ==> HAProxy ==> fleet of power MTA ==> Internet ==> destination MTA Is this correct? Baptiste On Thu, May 6, 2021 at 5:13 AM Brizz Bane wrote: > I am wanting to set up HAProxy to act as a proxy for

Setup HAProxy as a Forward Proxy for SMTP

2021-05-05 Thread Brizz Bane
I am wanting to set up HAProxy to act as a proxy for PowerMTA. I do not want a reverse or load balancing setup, so what I'm wanting to do is atypical and I've not found much online. Here are a couple links describing PowerMTA's integration with HAProxy: