Hi,

this only happens with the zoho SMTP server if your test mail has no
blank line that separates mail headers and mail body.

Please try (for example) 'echo -e "test-header\n\ntest-body"' instead
of just 'echo "test"'; it should work fine.

Explanation: if the mail-terminating "." line appears when the zoho
SMTP server thinks we are still in the mail headers, it will not
interpret it as end-of-data, and thus will wait for more data instead
of answering with "250 Message received".

A mail that does not have the blank line separating headers and body is
malformed according to the RFCs, so one could argue that the zoho SMTP
server behavior is ok, but on the other hand it seems to be the only
SMTP server working this way and breaking the typical 'echo "test"
| ...' pattern...

Best,
Martin

Reply via email to