In SMTP
commands
are sent by thesender
andresponses
which all begin with a numericcode
are sent by thereceiver
.but then there’s this bit:
RFC5321 sec4.2
Whenever possible, a receiver- SMTP SHOULD test the first digit (severity indication) of the reply code.
Huh? Is that an error in the RFC? Do they mean
sender
instead ofreceiver
?next paragraph they say
sender
.Consequently, a sender-SMTP MUST be prepared to handle codes not specified in this document and MUST do so by interpreting the first digit only.
That bit makes sense,
Answer
Looks like a typo to me. Submit errata.
Attribution
Source : Link , Question Author : user313114 , Answer Author : Chris S