Can you guys try this diff?
Eric.
Index: rfc2822.c
===================================================================
RCS file: /cvs/src/usr.sbin/smtpd/rfc2822.c,v
retrieving revision 1.7
diff -u -p -r1.7 rfc2822.c
--- rfc2822.c 4 Feb 2016 22:35:17 -0000 1.7
+++ rfc2822.c 20 Aug 2016 10:53:27 -0000
@@ -138,6 +138,7 @@ rfc2822_parser_init(struct rfc2822_parse
TAILQ_INIT(&rp->header.lines);
rfc2822_header_default_callback(rp, hdr_dflt_cb, NULL);
rfc2822_body_callback(rp, body_dflt_cb, NULL);
+ rfc2822_parser_reset(rp);
}
void