CVSROOT:        /cvs
Module name:    src
Changes by:     gil...@cvs.openbsd.org  2019/07/24 13:50:10

Modified files:
        usr.sbin/smtpd : smtp_session.c 

Log message:
Two problems:
- RFC 2034 Section 3 (item 4) requires that the status code is always followed
by one or more spaces. However, OpenSMTPD has a colon right after the status
code in many of the replies it sends.
- RFC 2034 Section 4 states: "When responses are continued across multiple lines
the same status code must appear at the beginning of the text in each line of
the response." However, OpenSMTPD only has the enhanced status code for the
last reply line it sends. Still, there is only one case in which it sends
such a multi-line reply: the HELP command.

diff from Stephan Bosch

Reply via email to