mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
b3f3c0a056
e.g. when outlook.com puts your IP on a blocklist, it will respond with 550 to MAIL FROM, then closes the connection (without responding to the remaining commands). we were reading the 550 response, not yet acting on it, then reading the response to RCPT TO. that read failed, and we would return that error. now, we will properly return the 550 (permanent error, instead of the temporary read error) from the first MAIL FROM (but we do still always try to read the response for RCPT TO and DATA). |
||
---|---|---|
.. | ||
client.go | ||
client_test.go |