TransientFailure errors

OS: Rocky Linux 9.4 (Blue Onyx)
KumoMTA Version: kumod 2024.07.11-d2128ec5

I have been trying to setup KumoMTA on a server and I was using the same configuration I have on other kumo installations that are working fine.
I only have SSH access to this server and I think that this issue might be related with the network card, the person that requested me to do this setup told me this:
“The Public IP address 172.254.104.41 is assigned to the server thru our firewall via NAT’ing.
The actual IP address is 10.4.1.65.
If it reports that IP address, the firewall will redirect it to 172.254.104.41”
Every time i try to use nmtui or manually adding the ip I would get disconnected from ssh and need to ask them to fix the network for me again so i’m trying to understand if this is something i can overcome or if it is just incompatible with kumo.

I think that this is resulting in these errors:
```{“type":“TransientFailure”,“id”:“9bfc71c1405d11efa33a00155d016e24”,“sender”:"news@mrsend1.com,“recipient”:"test-slcijbn7j@srv1.mail-tester.com",“queue”:"default-tenant@srv1.mail-tester.com",“site”:“ip-1->reception.mail-tester.com@smtp_client”,“size”:1357,“response”:{“code”:400,“enhanced_code”:null,“content”:“KumoMTA internal: failed to connect to any candidate hosts: connect to ResolvedAddress { name: "reception.mail-tester.com.", addr: 94.23.206.89 } port 25 and read initial banner: bind 172.254.104.41 for source:ip-1 failed: Cannot assign requested address (os error 99) while attempting to connect to 94.23.206.89:25”,“command”:null},“peer_address”:null,“timestamp”:1720795626,“created”:1720795626,“num_attempts”:0,“bounce_classification”:“Uncategorized”,“egress_pool”:“default”,“egress_source”:“ip-1”,“feedback_report”:null,“meta”:{},“headers”:{“Subject”:“test Fri, 12 Jul 2024 10:47:06 -0400”},“delivery_protocol”:“ESMTP”,“reception_protocol”:“ESMTP”,“nodeid”:“f4b8c94f-cc0f-4cb3-a72f-4e83018da720”}````

Zipped and hosted my configuration files:
https://aimailtools.com/kumomta.zip

Hey there @artistic-yorkshire, 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 thought about changing the sending ip to 10.4.1.65 on the sources file and adding it also to the init.lua but since i’m a bit lost here decided to look for guidance.

Doing what i just said resulted in the email being delivered to mail-tester the dns are not ok but it was sent: https://www.mail-tester.com/test-slcijbn7j what if the user needs to add more ip’s i use their internal ip’s instead of the public ones?

you need to use private IP. As, public ip is mapped w.r.t private ip

^that. The answer is in the error message you can’t bind the public address.

yes i got it to work whyle i was waiting for an answer i just tested it with the private ip and had no issues. hope this helps more people in the future.