failed to send message to ip-18->mail.xxxxxxxx.de@smtp_client

failed to send message to ip-18->mail.xxxxxxxxx.de@smtp_client Some(ResolvedAddress { name: \"mail.xxxxxxxx.de.\", addr: x.x.x.x }): Timed Out waiting 5s for response to Some(Rset)

We are currently having issues with this particular domain. I assume the SMTP server is slow to respond because it does feel a bit slow when I use telnet on it. How can we increase the timeout?

Question is if you can connect to the mail server at all. I have some experience with telekom.de or web.de, and I had to contact support to have the IP reputation reset as they werr totally blocked. Apparently they auto block any IP unless it send mail in the past months or so.
So best is to manually test if you can connect at all from the queue IP.

Let me have a look. I tried telnetting, but didn’t use that exact IP!

Yep, the connection works with Socat

Hmm okay, so with the source IP you get a connection and you get a greeting from de mail server? I usually test it with ‘nc -s 25’

I never used socat so I cannot say if you used it the right way.

Yep, it connects and I get the greeting message

You can configure timeouts for the various smtp client command verbs in the egress path settings; these are what you typically set via the shaping.toml file

Then eitger kumomta is making too many connections. So maybe create a shaping rule to make 1 connection and see what happens. It is sometime beneficial to only setup 1 connection and see what goes.

Thank you so much!!

I’ll try that as well. Lemme increase the timeout first

And that worked!

So I guess.. a slow SMTP server?

could be, but also: I think some sites penalize servers that make aggressive use of pipelining, because those tend to be higher volume, and that tends to detectable by how often rset is used.

thank you!!