SOCKS5 not bind with my server IP

And what is ifconfig showing on that node?

kumoproxy-serevr
ifconfig
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 144.202.21.208 netmask 255.255.254.0 broadcast 144.202.21.255
inet6 fe80::5400:5ff:fe03:b8ec prefixlen 64 scopeid 0x20
ether 56:00:05:03:b8:ec txqueuelen 1000 (Ethernet)
RX packets 2525 bytes 331825 (331.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1620 bytes 467903 (467.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp8s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450
inet 10.0.0.6 netmask 255.255.0.0 broadcast 10.0.255.255
inet6 fe80::5800:5ff:fe03:b8ec prefixlen 64 scopeid 0x20
ether 5a:00:05:03:b8:ec txqueuelen 1000 (Ethernet)
RX packets 87 bytes 4110 (4.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 21 bytes 1606 (1.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

So you’re telling the proxy server to send via 155.138.227.27 but 155.138.227.27 is not plumbed on the proxy server.

It can’t use an IP that is not present.

yeah… right!

[source.“ip-1”]
source_address = ‘155.138.227.27’
ehlo_domain = ‘mail2.cabinhomies.life’
socks5_proxy_source_address = ‘155.138.227.27’ ----------this is my kumomta server ip
socks5_proxy_server = ‘10.0.0.6:5000’ --------------------------------------------this is my kumoproxy server ip

[source.“ip-2”]
source_address = ‘155.138.230.200’
ehlo_domain = ‘mail.cabinhomies.life’
socks5_proxy_source_address = ‘155.138.230.200’ ----------this is my kumomta server ip
socks5_proxy_server = ‘10.0.0.6:5000’ ----------------------this is my kumoproxy server ip

so you mean, is it wrong?

When you use proxy you don’t set source_address.

You set socks_5_proxy_server to the IP of the procy with the single port you configured to listen on.

Then you set socks5_proxy_source_address to the IP that the proxy should use when sending the mail.

Oh!! Thank you so much to inform me. I appreciate your help …

:smiley:

Are you using two accounts or are you a coworker of SpaceX?

Yeah

We are trying to set up kumomta

You answered an “or” question with a yes.

I guess that satisfies boolean logic but doesn’t really inform.

yes

Ok then.

Thank you for the help

YW

Hello, still getting issue. I made some changes as per your guidelines in sources.toml file

[source.“ip-1”]
socks5_proxy_server = ‘10.0.0.6:5000’
socks5_proxy_source_address = ‘155.138.227.27’

[source.“ip-2”]
socks5_proxy_server = ‘10.0.0.6:5000’
socks5_proxy_source_address = ‘155.138.230.200’

but having same error in webhook logs>>

KumoMTA internal: failed to connect to any candidate hosts: connect to ResolvedAddress { name: “gmail-smtp-in.l.google.com.”, addr: 74.125.136.26 } port 25 and read initial banner: failed to bind 155.138.227.27 via Socks5 { server: 10.0.0.6:5000, source: 155.138.227.27, destination: 74.125.136.26:25, username_and_password: None }: SocksV5Response { status: ServerFailure, host: Ipv4([0, 0, 0, 0]), port: 0 }, connect to ResolvedAddress