Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2018 00:53:01 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468319 - in head/mail: opensmtpd opensmtpd-devel opensmtpd-devel/files opensmtpd/files
Message-ID:  <201804260053.w3Q0r1ls098687@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fluffy
Date: Thu Apr 26 00:53:01 2018
New Revision: 468319
URL: https://svnweb.freebsd.org/changeset/ports/468319

Log:
  - Pet MDA part, add brackets around Return-Path as per RFC5322 ยง3.6.6.
  
  Missing brackets lead to a panic when a malformed address line
  is fed to dovecot-lda
  
  Submitted by:	gahr
  Reported by:	brnrd via dovecot ML
  Obtained from:	https://github.com/OpenSMTPD/OpenSMTPD/pull/847/commits/725ba4fa2ddf23bbcd1ff9ec92e86bbfaa6825c8

Added:
  head/mail/opensmtpd-devel/files/patch-src_mda.c   (contents, props changed)
  head/mail/opensmtpd/files/patch-src_mda.c   (contents, props changed)
Modified:
  head/mail/opensmtpd-devel/Makefile
  head/mail/opensmtpd/Makefile

Modified: head/mail/opensmtpd-devel/Makefile
==============================================================================
--- head/mail/opensmtpd-devel/Makefile	Thu Apr 26 00:33:06 2018	(r468318)
+++ head/mail/opensmtpd-devel/Makefile	Thu Apr 26 00:53:01 2018	(r468319)
@@ -4,7 +4,7 @@
 PORTNAME=	opensmtpd
 PORTVERSION=	201606220754
 DISTVERSIONSUFFIX=	p1
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.opensmtpd.org/archives/ \

Added: head/mail/opensmtpd-devel/files/patch-src_mda.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/opensmtpd-devel/files/patch-src_mda.c	Thu Apr 26 00:53:01 2018	(r468319)
@@ -0,0 +1,11 @@
+--- smtpd/mda.c.orig	2016-05-13 02:56:04.000000000 +1000
++++ smtpd/mda.c	2018-04-26 10:28:45.373358000 +1000
+@@ -274,7 +274,7 @@
+ 					 * if any
+ 					 */
+ 					n = iobuf_fqueue(&s->iobuf,
+-					    "Return-Path: %s\n"
++					    "Return-Path: <%s>\n"
+ 					    "Delivered-To: %s\n",
+ 					    e->sender,
+ 					    e->rcpt ? e->rcpt : e->dest);

Modified: head/mail/opensmtpd/Makefile
==============================================================================
--- head/mail/opensmtpd/Makefile	Thu Apr 26 00:33:06 2018	(r468318)
+++ head/mail/opensmtpd/Makefile	Thu Apr 26 00:53:01 2018	(r468319)
@@ -4,7 +4,7 @@
 PORTNAME=	opensmtpd
 PORTVERSION=	5.9.2p1
 PORTEPOCH=	1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	mail
 MASTER_SITES=	http://www.opensmtpd.org/archives/ \
 		http://distfiles.pirateparty.in/ashish/

Added: head/mail/opensmtpd/files/patch-src_mda.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/opensmtpd/files/patch-src_mda.c	Thu Apr 26 00:53:01 2018	(r468319)
@@ -0,0 +1,11 @@
+--- smtpd/mda.c.orig	2016-05-13 02:56:04.000000000 +1000
++++ smtpd/mda.c	2018-04-26 10:28:45.373358000 +1000
+@@ -274,7 +274,7 @@
+ 					 * if any
+ 					 */
+ 					n = iobuf_fqueue(&s->iobuf,
+-					    "Return-Path: %s\n"
++					    "Return-Path: <%s>\n"
+ 					    "Delivered-To: %s\n",
+ 					    e->sender,
+ 					    e->rcpt ? e->rcpt : e->dest);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804260053.w3Q0r1ls098687>