mademast / sail

✉️ A strictly standards compliant SMTP server
ISC License
10 stars 0 forks source link

Implementing SMTP client #8

Open novedevo opened 3 years ago

novedevo commented 3 years ago

because of course, to relay mail (and possibly send it), you need to act as a client when talking to the next server on the line.

novedevo commented 3 years ago

this also requires the ability to construct an undeliverable mail message, I think. Acting as a client, we might get errors from the server, so we need a way to relay those errors to the original client.

novedevo commented 3 years ago

we can't rely on the list of reply codes being complete; we need to be able to handle future reply codes and must do so by interpreting only the first digit.