Issue with Long Delay After DATA Command #3251
Unanswered
niels-przybilla
asked this question in
Help with using Postal
Replies: 1 comment
-
It looks like you can configure that here Lines 213 to 217 in fd3c7cc |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Postal Community
I’m experiencing an issue with Postal where it seems to close the session prematurely during email delivery to an mail server that introduce a delay after the DATA command. Here’s what I’ve observed:
Testing with Telnet
./telnet mail.cp-ag.at 25
The session works as expected, and here’s a snippet:
220 mail.cp-ag.at Microsoft ESMTP MAIL Service ready
ehlo versand.sf-hosting.net
250-mail.cp-ag.at Hello [116.203.41.0]
mail from: [email protected]
250 2.1.0 Sender OK
rcpt to: [email protected]
250 2.1.5 Recipient OK
data
354 Start mail input; end with .
hello d
.
250 2.6.0 ... Queued mail for delivery
Observation:
After issuing the DATA command and inputting the email content, the server takes around 30 seconds to respond with a confirmation (e.g., 250 2.6.0 ... Queued mail for delivery).
I suspect that Postal does not wait long enough for this delay and closes the connection, causing a session.timeout error. This behavior likely prevents the email from being delivered successfully to such servers.
Timeout Configuration:
Is there a way to increase the timeout for the DATA response in Postal?
Are there alternative ways to handle these types of delays gracefully within Postal?
I’d appreciate any guidance or configuration tips to resolve this. Thank you in advance for your help! 😊
Best wishes
Niels
Beta Was this translation helpful? Give feedback.
All reactions