Hey team! I’m missing something and could use a fresh set of eyes. I have kumomta routing to kumo-proxy to a server that has LAN ips bound to various WAN ips. However, I’m not able to get kumo-proxy to send out any local ip other than the primary.
I have kumo-proxy running: cargo run --release -- --listen=0.0.0.0:5000
And when I telnet and bind to x.x.x.101 or x.x.x.102 the correct WAN ip is used. However, when using kumo-proxy, x.x.x.101 (the nic default) is always used even when ip-2 is being used with socks5_proxy_source_address = 'x.x.x.102'
Roast me for what I’m missing and thanks for the help!
Hey there @veracious-mule, thanks for posting. Please read the “Troubleshooting” and “How to Ask for Help” buttons below. If you would like a 1:1 support session from the KumoMTA team, details are at the “Book a Support Session” button below.
I believe so. Port 25 isn’t even open on the host machine (aws ec2) and if I remove all other ips and leave just the ip-2 it shows in the logs as ip-2 but still proxies out the primary interface ip on the socks server.
In my testing, I am able to route to pool-1 and pool-2 using the queues helper and an X-Tenant header through a the socks5 proxy. it seems to work as designed.
I have NOT tried sending high volume mail through to see if it round-robins, but I am not sure if that is really your question.
I also just tested this with “pool-3” in the example above with multiple messages in the same connection and it did indeed round robin between those IPs.