content":"Timeout waiting for data from client.

I am getting the error above when I am trying to route the mail to SES but after 2-3 retry mails gets delivered.

content":"Timeout waiting for data from client.

Please help to indentify the issues.

Hey there @youthful-zorse, 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.

If needed I can share the logs as well

You need to specify where the error appeared.

At the time of delivery I am getting

What log where?

Full log line.

Limited info gets limited answers.

Sorry, give me a mimute I sharing.

{“type":“TransientFailure”,“id”:“99cd5c85e77c11eeb8f50a4dd0aa8736”,“sender”:"dasdad@comm.sdasda.com,“recipient”:"dasda@asda.com",“queue”:"ses-1719-sdasda.com@dasda.com!email-smtp.ap-south-1.amazonaws.com",“site”:“ses.s-ip101->email-smtp.ap-south-1.amazonaws.com@smtp_client”,“size”:1282270,“response”:{“code”:451,“enhanced_code”:{“class”:4,“subject”:4,“detail”:2},“content”:“Timeout waiting for data from client.”,“command”:“RSET\r\n”},“peer_address”:{“name”:“email-smtp.ap-south-1.amazonaws.com.”,“addr”:“13.127.193.248”},“timestamp”:1711023343,“created”:1711023283,“num_attempts”:1,“bounce_classification”:“Uncategorized”,“egress_pool”:“ses.p-0”,“egress_source”:“ses.s-ip101”,“feedback_report”:null,“meta”:{“authz_id”:“smtpK171j03W276r9P2”,“routing_domain”:“email-smtp.ap-south-1.amazonaws.com”,“tenant”:“ses-1719-sdasda.com”},“headers”:{“Subject”:“We have received your request”,“X-Unique-ID”:“dasdad#dasda@asda.com#{"X-APIHEADER":"US-2103445019"}”},“delivery_protocol”:“ESMTP”,“reception_protocol”:“ESMTP”,“nodeid”:“563af98c-6584-4b08-9ff4-0af793705131”,“tls_cipher”:“TLS13_AES_256_GCM_SHA384”,“tls_protocol_version”:“TLSv1_3”,“tls_peer_subject_name”:[“CN=email-smtp.ap-south-1.amazonaws.com”]}

@yearning-hyena please check the logs above.

["default"]
connection_limit = 20
max_connection_rate = "20/s"
#max_deliveries_per_connection = 1024
max_message_rate = "200/s"
idle_timeout = "60s"
enable_tls = "Opportunistic"
consecutive_connection_failures_before_delay = 100
#max_ready = 1024
['email-smtp.ap-south-1.amazonaws.com']
smtp_port = 587
enable_tls = 'Required'
smtp_auth_plain_username = 'sdad'
smtp_auth_plain_password = { key_data = 'sdasdad' }

the above is my shaping.toml file, please have a look and suggest if I am doing something wrong,
this issue is occuring when the message size goes beyond 1 MB

When any message goes above 1mb, or when a message being relayed to SES goes beyond 1mb?

yes when, the emails are relayed to SES goes beyond 1MB, although in 1-2 retries it gets delivery so just here is my concern why the message are getting transient failure.

And when you send a message that large to somewhere other than SES?

As of now no, but we are going to implement to route the mails to other vendors as well.

So this is only a problem when talking to SES and nowhere else? That likely means the problem doesn’t reside in KumoMTA since then it would appear everywhere. I’ll look at testing.

Yes, I am hoping that’s the case

If needed I can share my full configuration as well.

With this being isolated to SES I think we can just test without using your config.