mademast / sail

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

Correctly handle parameters on MAIL, RCPT, etc commands #20

Open novedevo opened 3 years ago

novedevo commented 3 years ago

Namely, we need to return 555 if we don't support a parameter, and 455 if we only temporarily don't support it.

gennyble commented 3 years ago

A note to myself, mostly:

The SIZE and 8BITMIME service extensions are good examples of how parameters work. There a space away from the FROM in MAIL. So like:

MAIL FROM:<address> SIZE=128000