I want to configure kumomta to send through proxy ip, could y please share me some info where i can start
Thanks in advance
Hi again, in egress_source for SOCKS5 Proxy , does it support auth with user:pwd, thanks
It does in the latest dev build, see https://docs.kumomta.com/reference/kumo/start_proxy_listener/
Hi again, can i use it in source_ip.toml directtly, for example: [source.“cheerfulsoul24com-ip”]
–source_address = “15.204.152.144”
socks5_proxy_server = ‘10.0.5.10:5000’,
– Used by the SOCKS5 proxy server to connect to the destination address
socks5_proxy_source_address = ‘10.0.0.1’,
ehlo_domain = “ip144.ip-15-204-152.us”
Yes. And sometimes you would specify both source_address and socks5_proxy_source_address where source_address is saying which IP on the KumoMTA node to use to connect to the proxy server (in case it’s on a different subnet for example) while the socks5_proxy_source_address says which IP on the proxy to use to connect externally.
Got this error: failed to perform proxy handshake with 23.142.16.247:54337 Socks5 { server: 23.142.16.247:54337, source: 45.150.214.247, destination: 172.253.130.27:25, username_and_password: None }: early eof: early eof (consecutive_connection_failures=1)
curl -v --socks5-hostname 23.142.16.247:54337 smtp://gmail-smtp-in.l.google.com:25
–data-binary @<(echo -e “EHLO test\r\nQUIT\r\n”)
- Trying 23.142.16.247:54337…
- Connected to 23.142.16.247 (23.142.16.247) port 54337
- SOCKS5 connect to gmail-smtp-in.l.google.com:25 (remotely resolved)
- SOCKS5 request granted.
- Connected to 23.142.16.247 (23.142.16.247) port 54337
< 220 mx.google.com ESMTP 6a1803df08f44-8953bf5abaesi76203486d6.155 - gsmtp
EHLO vmi2694449
< 250-mx.google.com at your service, [45.150.214.247]
< 250-SIZE 157286400
< 250-8BITMIME
< 250-STARTTLS
< 250-ENHANCEDSTATUSCODES
< 250-PIPELINING
< 250-CHUNKING
< 250 SMTPUTF8
HELP
< 214 2.0.0 https://www.google.com/search?btnI&q=RFC+5321 6a1803df08f44-8953bf5abaesi76203486d6.155 - gsmtp
214 2.0.0 https://www.google.com/search?btnI&q=RFC+5321 6a1803df08f44-8953bf5abaesi76203486d6.155 - gsmtp
- Connection #0 to host 23.142.16.247 left intact
Proxy is working from curl
socks5_proxy_source_address -----is this a must?