View | Details | Raw Unified | Return to bug 227899
Collapse All | Expand All

(-)mail/opensmtpd/Makefile (-1 / +1 lines)
Lines 4-10 Link Here
4
PORTNAME=	opensmtpd
4
PORTNAME=	opensmtpd
5
PORTVERSION=	5.9.2p1
5
PORTVERSION=	5.9.2p1
6
PORTEPOCH=	1
6
PORTEPOCH=	1
7
PORTREVISION=	5
7
PORTREVISION=	6
8
CATEGORIES=	mail
8
CATEGORIES=	mail
9
MASTER_SITES=	http://www.opensmtpd.org/archives/ \
9
MASTER_SITES=	http://www.opensmtpd.org/archives/ \
10
		http://distfiles.pirateparty.in/ashish/
10
		http://distfiles.pirateparty.in/ashish/
(-)mail/opensmtpd/files/patch-smtpd-rfc2822.c (+19 lines)
Line 0 Link Here
1
--- smtpd/rfc2822.c.orig	2018-05-01 13:33:10.000000000 +0000
2
+++ smtpd/rfc2822.c	2018-05-01 13:34:47.931554000 +0000
3
@@ -53,4 +53,7 @@
4
 	struct rfc2822_hdr_miss_cb	*hdr_miss_cb;
5
+ 	
6
+ 	if (!rp->in_hdr)
7
+		goto end;
8
 
9
 	TAILQ_FOREACH(hdr_cb, &rp->hdr_cb, next)
10
 	    if (strcasecmp(hdr_cb->name, rp->header.name) == 0) {
11
@@ -151,6 +152,8 @@
12
 		return;
13
 
14
 	header_callback(rp);
15
+
16
+	missing_headers_callback(rp);
17
 }
18
 
19
 void
(-)mail/opensmtpd/files/patch-smtpd-smtp_session.c (+11 lines)
Line 0 Link Here
1
--- smtpd/smtp_session.c.orig	2018-05-01 13:35:00.375262000 +0000
2
+++ smtpd/smtp_session.c	2018-05-01 13:37:22.637096000 +0000
3
@@ -1345,6 +1345,8 @@
4
 			s->dataeom = 1;
5
 			if (iobuf_queued(&s->obuf) == 0)
6
 				smtp_data_io_done(s);
7
+			else
8
+				io_reload(&s->oev);
9
 			return;
10
 		}
11
 

Return to bug 227899