Add Message-Id as needed for messages received on the submission port.
authormillert <millert@openbsd.org>
Mon, 9 Oct 2023 20:55:32 +0000 (20:55 +0000)
committermillert <millert@openbsd.org>
Mon, 9 Oct 2023 20:55:32 +0000 (20:55 +0000)
commitab096723d8beb5f3ddcfbbb05ad68c209414c4ba
treeb22071aecec41bb35abd60738a603a660aa858b6
parentd62f3bdc69145384b28a9411533f1dae1c1eb2f9
Add Message-Id as needed for messages received on the submission port.

Since listener->port is in network byte order we need to compare
against htons(587).  The fix for this got dropped in the rewrite
in revision 1.335.
usr.sbin/smtpd/smtp_session.c