From daniel+roe=marvin@roe.ch  Sat Jan 17 20:36:24 2009
Return-Path: <daniel+roe=marvin@roe.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B0F051065675
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 17 Jan 2009 20:36:24 +0000 (UTC)
	(envelope-from daniel+roe=marvin@roe.ch)
Received: from calvin.ustdmz.roe.ch (calvin.ustdmz.roe.ch [IPv6:2001:41e0:ff17:face::26])
	by mx1.freebsd.org (Postfix) with ESMTP id D89968FC29
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 17 Jan 2009 20:36:23 +0000 (UTC)
	(envelope-from daniel+roe=marvin@roe.ch)
Received: from marvin.ustcor.roe.ch ([2001:41e0:ff17:babe::101])
	by calvin.ustdmz.roe.ch (envelope-from <daniel+roe=marvin@roe.ch>)
	with ESMTPSA (auth=roe) (TLSv1:AES256-SHA:256) id 1LOHpg-000Dvy-ET
	; Sat, 17 Jan 2009 21:31:52 +0100
Received: from roe (uid 65534)
	(envelope-from roe@marvin.ustcor.roe.ch)
	id 198
	by marvin.ustcor.roe.ch (DragonFly Mail Agent)
	Sat, 17 Jan 2009 21:38:28 +0100
Message-Id: <E1LOHpg-000Dvy-ET@calvin.ustdmz.roe.ch>
Date: Sat, 17 Jan 2009 21:31:52 +0100
From: Daniel Roethlisberger <daniel@roe.ch>
Reply-To: Daniel Roethlisberger <daniel@roe.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc: daniel@roe.ch
Subject: New port: mail/dma - The DragonFly Mail Agent
X-Send-Pr-Version: 3.113
X-GNATS-Notify: daniel@roe.ch

>Number:         130658
>Category:       ports
>Synopsis:       New port: mail/dma - The DragonFly Mail Agent
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 17 20:40:01 UTC 2009
>Closed-Date:    Thu Feb 12 00:41:56 UTC 2009
>Last-Modified:  Thu Feb 12 00:50:02 UTC 2009
>Originator:     Daniel Roethlisberger
>Release:        FreeBSD 7.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD marvin.ustcor.roe.ch 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The DragonFly Mail Agent is a small Mail Transport Agent (MTA),
designed for home and office use.  It accepts mails from locally
installed Mail User Agents (MUA) and delivers the mails either
locally or to a remote destination.  Remote delivery includes
several features like TLS/SSL support and SMTP authentication.

Since dma is not intended as a replacement for real, big MTAs
like sendmail(8) or postfix(1), it does not listen on port 25
for incoming connections.

WWW: http://www.dragonflybsd.org/
>How-To-Repeat:
>Fix:
--- dma.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	dma
#	dma/Makefile
#	dma/distinfo
#	dma/pkg-descr
#	dma/files
#	dma/files/patch-libexec_dma_net.c
#	dma/files/patch-Makefile
#	dma/files/dma.rb
#	dma/pkg-plist
#	dma/pkg-message
#
echo c - dma
mkdir -p dma > /dev/null 2>&1
echo x - dma/Makefile
sed 's/^X//' >dma/Makefile << '733fe10ed2908626499b88c0ed44262c'
X# New ports collection makefile for:	dma
X# Date created:				2009-01-17
X# Whom:					Daniel Roethlisberger <daniel@roe.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	dma
XPORTVERSION=	20080930
XCATEGORIES=	mail ipv6
XMASTER_SITES=	http://mirror.roe.ch/dist/dma/
X
XMAINTAINER=	daniel@roe.ch
XCOMMENT=	DragonFly Mail Agent, a small MTA for local/outbound mail
X
XUSE_BZIP2=	yes
XUSE_OPENSSL=	yes
X
XMAN8=		dma.8
X
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
XCFLAGS+=	"-I${OPENSSLINC}"
XLDFLAGS+=	"-L${OPENSSLLIB}"
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's,/etc/dma,${PREFIX}/etc/dma,g' \
X		${WRKSRC}/libexec/dma/dma.8 \
X		${WRKSRC}/libexec/dma/dma.h
X	@${REINPLACE_CMD} -e 's, /etc/dma, ${PREFIX}/etc/dma,g' \
X		${WRKSRC}/etc/dma/dma.conf
X
Xdo-install:
X	${INSTALL} -o root -g mail -m 4555 ${WRKSRC}/libexec/dma/dma ${PREFIX}/libexec
X	${INSTALL_SCRIPT} files/dma.rb ${PREFIX}/libexec
X	${INSTALL_MAN} ${WRKSRC}/libexec/dma/dma.8 ${PREFIX}/man/man8/
X	${MKDIR} ${PREFIX}/etc/dma
X.for i in dma.conf virtusertable
X	${INSTALL_DATA} -m 0644 ${WRKSRC}/etc/dma/${i} ${PREFIX}/etc/dma/${i}.sample
X.endfor
X	${INSTALL} -o root -g mail -m 0640 ${WRKSRC}/etc/dma/auth.conf \
X		${PREFIX}/etc/dma/auth.conf.sample
X.for i in dma.conf virtusertable auth.conf
X	if [ ! -f ${PREFIX}/etc/dma/${i} ]; then \
X		${CP} -p ${PREFIX}/etc/dma/${i}.sample \
X			${PREFIX}/etc/dma/${i} ; \
X	fi
X.endfor
X	${INSTALL} -d -o root -g mail -m 770 /var/spool/dma
X	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' pkg-message > ${PKGMESSAGE}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
733fe10ed2908626499b88c0ed44262c
echo x - dma/distinfo
sed 's/^X//' >dma/distinfo << '0387bf614ff7e98d784c5f4b757dcd93'
XMD5 (dma-20080930.tar.bz2) = 24c86a6f4e3f1c6a550b9fb58f0e75d3
XSHA256 (dma-20080930.tar.bz2) = e65e48208de4768087a39b4d8e01cacb51395e79812ec199d4b0c8d4cc301800
XSIZE (dma-20080930.tar.bz2) = 23743
0387bf614ff7e98d784c5f4b757dcd93
echo x - dma/pkg-descr
sed 's/^X//' >dma/pkg-descr << 'aa2448ab7162a85f2823422b61280644'
XThe DragonFly Mail Agent is a small Mail Transport Agent (MTA),
Xdesigned for home and office use.  It accepts mails from locally
Xinstalled Mail User Agents (MUA) and delivers the mails either
Xlocally or to a remote destination.  Remote delivery includes
Xseveral features like TLS/SSL support and SMTP authentication.
X
XSince dma is not intended as a replacement for real, big MTAs
Xlike sendmail(8) or postfix(1), it does not listen on port 25
Xfor incoming connections.
X
XWWW: http://www.dragonflybsd.org/
aa2448ab7162a85f2823422b61280644
echo c - dma/files
mkdir -p dma/files > /dev/null 2>&1
echo x - dma/files/patch-libexec_dma_net.c
sed 's/^X//' >dma/files/patch-libexec_dma_net.c << '1daa97669b2ef63dd052e1b54a02099a'
X--- libexec/dma/net.c.orig	2008-09-30 19:47:21.000000000 +0200
X+++ libexec/dma/net.c	2009-01-17 19:02:43.000000000 +0100
X@@ -342,14 +342,10 @@
X 				it->queueid);
X 		else
X 			goto out;
X-	}
X-
X-	/*
X-	 * If the user doesn't want STARTTLS, but SSL encryption, we
X-	 * have to enable SSL first, then send EHLO
X-	 */
X-	if (((config->features & STARTTLS) == 0) &&
X-	    ((config->features & SECURETRANS) != 0)) {
X+		/*
X+		 * The client SHOULD send an EHLO command as the
X+		 * first command after a successful TLS negotiation.
X+		 */
X 		send_remote_command(fd, "EHLO %s", hostname());
X 		if (read_remote(fd, 0, NULL) != 2) {
X 			syslog(LOG_ERR, "%s: remote delivery deferred: "
1daa97669b2ef63dd052e1b54a02099a
echo x - dma/files/patch-Makefile
sed 's/^X//' >dma/files/patch-Makefile << 'a4cc689ada89d8919f060a792958ffe7'
X--- /dev/null	2009-01-17 17:24:56.000000000 +0100
X+++ Makefile	2009-01-17 17:25:04.000000000 +0100
X@@ -0,0 +1,3 @@
X+DISTRIBUTION=portsmaildma
X+SUBDIR=libexec/dma
X+.include <bsd.subdir.mk>
a4cc689ada89d8919f060a792958ffe7
echo x - dma/files/dma.rb
sed 's/^X//' >dma/files/dma.rb << 'd99f68d0c1aa7213713d516d9b6c7018'
X#!/usr/bin/env ruby
X# Copyright (c) 2009 Daniel Roethlisberger <daniel@roe.ch>
X# All rights reserved.
X# 
X# Redistribution and use in source and binary forms, with or without
X# modification, are permitted provided that the following conditions
X# are met:
X# 1. Redistributions of source code must retain the above copyright
X#    notice unmodified, this list of conditions, and the following
X#    disclaimer.
X# 2. Redistributions in binary form must reproduce the above copyright
X#    notice, this list of conditions and the following disclaimer in the
X#    documentation and/or other materials provided with the distribution.
X# 
X# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
X# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
X# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
X# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
X# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
X# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
X# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
X# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
X# SUCH DAMAGE.
X# 
X# $FreeBSD$
X
X# Wrapper around dma(8) which implements the missing -t sendmail option.
X# WARNING: The address parsing is very incomplete and might break.
X
Xrequire 'open3'
X
Xdma = $0.gsub(/.rb$/, '')
X
Xif ARGV.delete "-t"
X	msg = STDIN.read
X	head, cr, body = msg.split(/(?<=\n)(\r?)\n/, 2)
X	tmphead = head.gsub(/\n\s+/m, ' ')
X	rcpts = []
X	tmphead.gsub(/^(?:to|cc|bcc):\s.*$/i) do |match|
X		match.sub(/^[^:]+:\s*/, '').split(/\s*[,;]\s*/).each do |addr|
X			rcpts << addr.sub(/.*<([^<>]+)>.*/, '\\1')
X		end
X	end
X	head.gsub!(/^bcc:.*\n/i, '')
X	Open3.popen3(dma, *ARGV.concat(rcpts)) do |i,o,e|
X		i.write head
X		i.write "#{cr}\n"
X		i.write body
X		i.close_write
X		print o.read
X		print e.read
X	end
Xelse
X	exec(dma, *ARGV)
Xend
X
d99f68d0c1aa7213713d516d9b6c7018
echo x - dma/pkg-plist
sed 's/^X//' >dma/pkg-plist << '677014bb7765b915dfbf8c4c26978833'
Xlibexec/dma
Xlibexec/dma.rb
X@unexec if cmp -s %D/etc/dma/dma.conf.sample %D/etc/dma/dma.conf; then rm -f %D/etc/dma/dma.conf; fi
Xetc/dma/dma.conf.sample
X@exec if [ ! -f %B/dma.conf ] ; then cp -p %B/%f %B/dma.conf; fi
X@unexec if cmp -s %D/etc/dma/auth.conf.sample %D/etc/dma/auth.conf; then rm -f %D/etc/dma/auth.conf; fi
Xetc/dma/auth.conf.sample
X@exec if [ ! -f %B/auth.conf ] ; then cp -p %B/%f %B/auth.conf; fi
X@unexec if cmp -s %D/etc/dma/virtusertable.sample %D/etc/dma/virtusertable; then rm -f %D/etc/dma/virtusertable; fi
Xetc/dma/virtusertable.sample
X@exec if [ ! -f %B/virtusertable ] ; then cp -p %B/%f %B/virtusertable; fi
X@dirrmtry etc/dma
X@exec install -d -o root -g mail -m 770 /var/spool/dma
X@unexec rmdir /var/spool/dma 2>/dev/null || true
677014bb7765b915dfbf8c4c26978833
echo x - dma/pkg-message
sed 's/^X//' >dma/pkg-message << 'b39e999cc4d6d18a6b16a617dc018a9b'
X
XTo enable dma please edit /etc/mail/mailer.conf to replace all lines
Xreferring to another MTA with the following:
X
Xsendmail	%%PREFIX%%/libexec/dma
Xsend-mail	%%PREFIX%%/libexec/dma
X
XIf you need sendmail -t compatibility, e.g. for send-pr(1), you may use the
Xruby wrapper script instead (make sure to install lang/ruby as well):
X
Xsendmail	%%PREFIX%%/libexec/dma.rb
Xsend-mail	%%PREFIX%%/libexec/dma.rb
X
X***  WARNING:
X***  The ruby wrapper is inefficient and only supports a small subset of
X***  what is considered a valid email address by the relevant RFCs.
X***  Use at your own risk!
X
XIf you not need sendmail anymore, please add in your rc.conf:
X
Xsendmail_enable="NO"
Xsendmail_submit_enable="NO"
Xsendmail_outbound_enable="NO"
Xsendmail_msp_queue_enable="NO"
X
XAnd you can disable some sendmail specific daily maintenance routines in your
X/etc/periodic.conf file:
X
Xdaily_clean_hoststat_enable="NO"
Xdaily_status_mail_rejects_enable="NO"
Xdaily_status_include_submit_mailq="NO"
Xdaily_submit_queuerun="NO"
X
b39e999cc4d6d18a6b16a617dc018a9b
exit
--- dma.shar ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Mon Jan 19 15:23:38 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130658 
State-Changed-From-To: open->feedback 
State-Changed-By: wxs 
State-Changed-When: Tue Jan 20 22:36:23 UTC 2009 
State-Changed-Why:  
Submittors request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130658 

From: Daniel Roethlisberger <daniel@roe.ch>
To: bug-followup@FreeBSD.org
Cc: wxs@FreeBSD.org
Subject: Re: ports/130658: New port: mail/dma - The DragonFly Mail Agent
Date: Sat, 24 Jan 2009 20:45:13 +0100

 --FL5UXtIhxfXey3p5
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Attached a shar of a new version of the port.  Main difference to
 previous version is an additional patch fixing two NULL pointer
 dereferences.  (Patch of course also submitted upstream.)
 
 -- 
 Daniel Roethlisberger
 http://daniel.roe.ch/
 
 --FL5UXtIhxfXey3p5
 Content-Type: application/x-shar
 Content-Disposition: attachment; filename="dma.shar"
 Content-Transfer-Encoding: quoted-printable
 
 # This is a shell archive.  Save it in a file, remove anything before=0A# t=
 his line, and then unpack it by entering "sh file".  Note, it may=0A# creat=
 e directories; files and directories will be owned by you and=0A# have defa=
 ult permissions.=0A#=0A# This archive contains:=0A#=0A#	dma=0A#	dma/files=
 =0A#	dma/files/patch-libexec_dma_net.c=0A#	dma/files/patch-Makefile=0A#	dma=
 /files/dma.rb=0A#	dma/files/patch-libexec_dma_dma.c=0A#	dma/Makefile=0A#	dm=
 a/distinfo=0A#	dma/pkg-descr=0A#	dma/pkg-plist=0A#	dma/pkg-message=0A#=0Aec=
 ho c - dma=0Amkdir -p dma > /dev/null 2>&1=0Aecho c - dma/files=0Amkdir -p =
 dma/files > /dev/null 2>&1=0Aecho x - dma/files/patch-libexec_dma_net.c=0As=
 ed 's/^X//' >dma/files/patch-libexec_dma_net.c << '1daa97669b2ef63dd052e1b5=
 4a02099a'=0AX--- libexec/dma/net.c.orig	2008-09-30 19:47:21.000000000 +0200=
 =0AX+++ libexec/dma/net.c	2009-01-17 19:02:43.000000000 +0100=0AX@@ -342,14=
  +342,10 @@=0AX 				it->queueid);=0AX 		else=0AX 			goto out;=0AX-	}=0AX-=
 =0AX-	/*=0AX-	 * If the user doesn't want STARTTLS, but SSL encryption, we=
 =0AX-	 * have to enable SSL first, then send EHLO=0AX-	 */=0AX-	if (((confi=
 g->features & STARTTLS) =3D=3D 0) &&=0AX-	    ((config->features & SECURETR=
 ANS) !=3D 0)) {=0AX+		/*=0AX+		 * The client SHOULD send an EHLO command as=
  the=0AX+		 * first command after a successful TLS negotiation.=0AX+		 */=
 =0AX 		send_remote_command(fd, "EHLO %s", hostname());=0AX 		if (read_remot=
 e(fd, 0, NULL) !=3D 2) {=0AX 			syslog(LOG_ERR, "%s: remote delivery deferr=
 ed: "=0A1daa97669b2ef63dd052e1b54a02099a=0Aecho x - dma/files/patch-Makefil=
 e=0Ased 's/^X//' >dma/files/patch-Makefile << 'a4cc689ada89d8919f060a792958=
 ffe7'=0AX--- /dev/null	2009-01-17 17:24:56.000000000 +0100=0AX+++ Makefile	=
 2009-01-17 17:25:04.000000000 +0100=0AX@@ -0,0 +1,3 @@=0AX+DISTRIBUTION=3Dp=
 ortsmaildma=0AX+SUBDIR=3Dlibexec/dma=0AX+.include <bsd.subdir.mk>=0Aa4cc689=
 ada89d8919f060a792958ffe7=0Aecho x - dma/files/dma.rb=0Ased 's/^X//' >dma/f=
 iles/dma.rb << 'd99f68d0c1aa7213713d516d9b6c7018'=0AX#!/usr/bin/env ruby=0A=
 X# Copyright (c) 2009 Daniel Roethlisberger <daniel@roe.ch>=0AX# All rights=
  reserved.=0AX# =0AX# Redistribution and use in source and binary forms, wi=
 th or without=0AX# modification, are permitted provided that the following =
 conditions=0AX# are met:=0AX# 1. Redistributions of source code must retain=
  the above copyright=0AX#    notice unmodified, this list of conditions, an=
 d the following=0AX#    disclaimer.=0AX# 2. Redistributions in binary form =
 must reproduce the above copyright=0AX#    notice, this list of conditions =
 and the following disclaimer in the=0AX#    documentation and/or other mate=
 rials provided with the distribution.=0AX# =0AX# THIS SOFTWARE IS PROVIDED =
 BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND=0AX# ANY EXPRESS OR IMPLIED WA=
 RRANTIES, INCLUDING, BUT NOT LIMITED TO, THE=0AX# IMPLIED WARRANTIES OF MER=
 CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE=0AX# ARE DISCLAIMED. IN N=
 O EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE=0AX# FOR ANY DIRECT, IND=
 IRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL=0AX# DAMAGES (INCLU=
 DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS=0AX# OR SERVICES;=
  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)=0AX# HOWEVER CAUS=
 ED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT=0AX# LIABILI=
 TY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY=0AX# OUT=
  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF=0AX# SU=
 CH DAMAGE.=0AX# =0AX# $FreeBSD$=0AX=0AX# Wrapper around dma(8) which implem=
 ents the missing -t sendmail option.=0AX# WARNING: The address parsing is v=
 ery incomplete and might break.=0AX=0AXrequire 'open3'=0AX=0AXdma =3D $0.gs=
 ub(/.rb$/, '')=0AX=0AXif ARGV.delete "-t"=0AX	msg =3D STDIN.read=0AX	head, =
 cr, body =3D msg.split(/(?<=3D\n)(\r?)\n/, 2)=0AX	tmphead =3D head.gsub(/\n=
 \s+/m, ' ')=0AX	rcpts =3D []=0AX	tmphead.gsub(/^(?:to|cc|bcc):\s.*$/i) do |=
 match|=0AX		match.sub(/^[^:]+:\s*/, '').split(/\s*[,;]\s*/).each do |addr|=
 =0AX			rcpts << addr.sub(/.*<([^<>]+)>.*/, '\\1')=0AX		end=0AX	end=0AX	head=
 .gsub!(/^bcc:.*\n/i, '')=0AX	Open3.popen3(dma, *ARGV.concat(rcpts)) do |i,o=
 ,e|=0AX		i.write head=0AX		i.write "#{cr}\n"=0AX		i.write body=0AX		i.close=
 _write=0AX		print o.read=0AX		print e.read=0AX	end=0AXelse=0AX	exec(dma, *A=
 RGV)=0AXend=0AX=0Ad99f68d0c1aa7213713d516d9b6c7018=0Aecho x - dma/files/pat=
 ch-libexec_dma_dma.c=0Ased 's/^X//' >dma/files/patch-libexec_dma_dma.c << '=
 5bdbc686d92b340add3bf71a50e4de95'=0AX--- libexec/dma/dma.c.orig	2008-09-30 =
 19:47:21.000000000 +0200=0AX+++ libexec/dma/dma.c	2009-01-21 00:51:30.00000=
 0000 +0100=0AX@@ -1704,6 +1704,8 @@=0AX 		read(clientsocket_df, username, n=
 amelength);=0AX 		userentry =3D getpwnam(username);=0AX 		endpwent();=0AX+	=
 	if (userentry =3D=3D NULL)=0AX+			return(-1);=0AX =0AX 		pid =3D fork();=
 =0AX 		if (pid =3D=3D 0) { /* child */=0AX@@ -1821,6 +1823,14 @@=0AX =0AX 	=
 	userentry =3D getpwnam(target);=0AX 		endpwent();=0AX+		if (userentry =3D=
 =3D NULL) {=0AX+			fail =3D errno;=0AX+			write(clientsocket_wl, &fail, siz=
 eof(fail));=0AX+			fail =3D 0;=0AX+			write(clientsocket_wl, &fail, sizeof(=
 fail));=0AX+			free(target);=0AX+			_exit(1);=0AX+		}=0AX =0AX 		pid =3D fo=
 rk();=0AX 		if (pid =3D=3D 0) { /* child */=0A5bdbc686d92b340add3bf71a50e4d=
 e95=0Aecho x - dma/Makefile=0Ased 's/^X//' >dma/Makefile << '733fe10ed29086=
 26499b88c0ed44262c'=0AX# New ports collection makefile for:	dma=0AX# Date c=
 reated:				2009-01-17=0AX# Whom:					Daniel Roethlisberger <daniel@roe.ch>=
 =0AX#=0AX# $FreeBSD$=0AX#=0AX=0AXPORTNAME=3D	dma=0AXPORTVERSION=3D	20080930=
 =0AXCATEGORIES=3D	mail ipv6=0AXMASTER_SITES=3D	http://mirror.roe.ch/dist/dm=
 a/=0AX=0AXMAINTAINER=3D	daniel@roe.ch=0AXCOMMENT=3D	DragonFly Mail Agent, a=
  small MTA for local/outbound mail=0AX=0AXUSE_BZIP2=3D	yes=0AXUSE_OPENSSL=
 =3D	yes=0AX=0AXMAN8=3D		dma.8=0AX=0AXPKGMESSAGE=3D	${WRKDIR}/pkg-message=0A=
 X=0AXCFLAGS+=3D	"-I${OPENSSLINC}"=0AXLDFLAGS+=3D	"-L${OPENSSLLIB}"=0AX=0AXp=
 ost-patch:=0AX	@${REINPLACE_CMD} -e 's,/etc/dma,${PREFIX}/etc/dma,g' \=0AX	=
 	${WRKSRC}/libexec/dma/dma.8 \=0AX		${WRKSRC}/libexec/dma/dma.h=0AX	@${REIN=
 PLACE_CMD} -e 's, /etc/dma, ${PREFIX}/etc/dma,g' \=0AX		${WRKSRC}/etc/dma/d=
 ma.conf=0AX=0AXdo-install:=0AX	${INSTALL} -o root -g mail -m 4555 ${WRKSRC}=
 /libexec/dma/dma ${PREFIX}/libexec=0AX	${INSTALL_SCRIPT} files/dma.rb ${PRE=
 FIX}/libexec=0AX	${INSTALL_MAN} ${WRKSRC}/libexec/dma/dma.8 ${PREFIX}/man/m=
 an8/=0AX	${MKDIR} ${PREFIX}/etc/dma=0AX.for i in dma.conf virtusertable=0AX=
 	${INSTALL_DATA} -m 0644 ${WRKSRC}/etc/dma/${i} ${PREFIX}/etc/dma/${i}.samp=
 le=0AX.endfor=0AX	${INSTALL} -o root -g mail -m 0640 ${WRKSRC}/etc/dma/auth=
 .conf \=0AX		${PREFIX}/etc/dma/auth.conf.sample=0AX.for i in dma.conf virtu=
 sertable auth.conf=0AX	if [ ! -f ${PREFIX}/etc/dma/${i} ]; then \=0AX		${CP=
 } -p ${PREFIX}/etc/dma/${i}.sample \=0AX			${PREFIX}/etc/dma/${i} ; \=0AX	f=
 i=0AX.endfor=0AX	${INSTALL} -d -o root -g mail -m 770 /var/spool/dma=0AX	@$=
 {SED} -e 's,%%PREFIX%%,${PREFIX},g' pkg-message > ${PKGMESSAGE}=0AX=0AXpost=
 -install:=0AX	@${CAT} ${PKGMESSAGE}=0AX=0AX.include <bsd.port.mk>=0A733fe10=
 ed2908626499b88c0ed44262c=0Aecho x - dma/distinfo=0Ased 's/^X//' >dma/disti=
 nfo << '0387bf614ff7e98d784c5f4b757dcd93'=0AXMD5 (dma-20080930.tar.bz2) =3D=
  24c86a6f4e3f1c6a550b9fb58f0e75d3=0AXSHA256 (dma-20080930.tar.bz2) =3D e65e=
 48208de4768087a39b4d8e01cacb51395e79812ec199d4b0c8d4cc301800=0AXSIZE (dma-2=
 0080930.tar.bz2) =3D 23743=0A0387bf614ff7e98d784c5f4b757dcd93=0Aecho x - dm=
 a/pkg-descr=0Ased 's/^X//' >dma/pkg-descr << 'aa2448ab7162a85f2823422b61280=
 644'=0AXThe DragonFly Mail Agent is a small Mail Transport Agent (MTA),=0AX=
 designed for home and office use.  It accepts mails from locally=0AXinstall=
 ed Mail User Agents (MUA) and delivers the mails either=0AXlocally or to a =
 remote destination.  Remote delivery includes=0AXseveral features like TLS/=
 SSL support and SMTP authentication.=0AX=0AXSince dma is not intended as a =
 replacement for real, big MTAs=0AXlike sendmail(8) or postfix(1), it does n=
 ot listen on port 25=0AXfor incoming connections.=0AX=0AXWWW: http://www.dr=
 agonflybsd.org/=0Aaa2448ab7162a85f2823422b61280644=0Aecho x - dma/pkg-plist=
 =0Ased 's/^X//' >dma/pkg-plist << '677014bb7765b915dfbf8c4c26978833'=0AXlib=
 exec/dma=0AXlibexec/dma.rb=0AX@unexec if cmp -s %D/etc/dma/dma.conf.sample =
 %D/etc/dma/dma.conf; then rm -f %D/etc/dma/dma.conf; fi=0AXetc/dma/dma.conf=
 .sample=0AX@exec if [ ! -f %B/dma.conf ] ; then cp -p %B/%f %B/dma.conf; fi=
 =0AX@unexec if cmp -s %D/etc/dma/auth.conf.sample %D/etc/dma/auth.conf; the=
 n rm -f %D/etc/dma/auth.conf; fi=0AXetc/dma/auth.conf.sample=0AX@exec if [ =
 ! -f %B/auth.conf ] ; then cp -p %B/%f %B/auth.conf; fi=0AX@unexec if cmp -=
 s %D/etc/dma/virtusertable.sample %D/etc/dma/virtusertable; then rm -f %D/e=
 tc/dma/virtusertable; fi=0AXetc/dma/virtusertable.sample=0AX@exec if [ ! -f=
  %B/virtusertable ] ; then cp -p %B/%f %B/virtusertable; fi=0AX@dirrmtry et=
 c/dma=0AX@exec install -d -o root -g mail -m 770 /var/spool/dma=0AX@unexec =
 rmdir /var/spool/dma 2>/dev/null || true=0A677014bb7765b915dfbf8c4c26978833=
 =0Aecho x - dma/pkg-message=0Ased 's/^X//' >dma/pkg-message << 'b39e999cc4d=
 6d18a6b16a617dc018a9b'=0AX=0AXTo enable dma please edit /etc/mail/mailer.co=
 nf to replace all lines=0AXreferring to another MTA with the following:=0AX=
 =0AXsendmail	%%PREFIX%%/libexec/dma=0AXsend-mail	%%PREFIX%%/libexec/dma=0AX=
 =0AXIf you need sendmail -t compatibility, e.g. for send-pr(1), you may use=
  the=0AXruby wrapper script instead (make sure to install lang/ruby as well=
 ):=0AX=0AXsendmail	%%PREFIX%%/libexec/dma.rb=0AXsend-mail	%%PREFIX%%/libexe=
 c/dma.rb=0AX=0AXNote that the ruby wrapper only supports a subset of what i=
 s considered valid=0AXemail address syntax by the relevant RFCs.=0AX=0AXIf =
 you not need sendmail anymore, please add in your rc.conf:=0AX=0AXsendmail_=
 enable=3D"NO"=0AXsendmail_submit_enable=3D"NO"=0AXsendmail_outbound_enable=
 =3D"NO"=0AXsendmail_msp_queue_enable=3D"NO"=0AX=0AXAnd you can disable some=
  sendmail specific daily maintenance routines in your=0AX/etc/periodic.conf=
  file:=0AX=0AXdaily_clean_hoststat_enable=3D"NO"=0AXdaily_status_mail_rejec=
 ts_enable=3D"NO"=0AXdaily_status_include_submit_mailq=3D"NO"=0AXdaily_submi=
 t_queuerun=3D"NO"=0AX=0Ab39e999cc4d6d18a6b16a617dc018a9b=0Aexit=0A=0A
 --FL5UXtIhxfXey3p5--

From: Daniel Roethlisberger <daniel@roe.ch>
To: bug-followup@FreeBSD.org
Cc: wxs@FreeBSD.org
Subject: Re: ports/130658: New port: mail/dma - The DragonFly Mail Agent
Date: Mon, 9 Feb 2009 01:51:12 +0100

 --ZfOjI3PrQbgiZnxM
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 DragonFlyBSD's matthias@ has backed out the not-quite-production
 quality .forward file handling code from their git repo.
 Attached a shar updated to yesterday's version of the DragonFly
 Mail Agent.  From my point of view, this version of the port can
 be committed now.  Wesley, let me know if you need a diff to
 previous instead of the shar.
 
 -- 
 Daniel Roethlisberger
 http://daniel.roe.ch/
 
 --ZfOjI3PrQbgiZnxM
 Content-Type: application/x-shar
 Content-Disposition: attachment; filename="dma-20090208.shar"
 Content-Transfer-Encoding: quoted-printable
 
 # This is a shell archive.  Save it in a file, remove anything before=0A# t=
 his line, and then unpack it by entering "sh file".  Note, it may=0A# creat=
 e directories; files and directories will be owned by you and=0A# have defa=
 ult permissions.=0A#=0A# This archive contains:=0A#=0A#	dma=0A#	dma/files=
 =0A#	dma/files/patch-libexec_dma_net.c=0A#	dma/files/patch-Makefile=0A#	dma=
 /files/dma.rb=0A#	dma/Makefile=0A#	dma/distinfo=0A#	dma/pkg-descr=0A#	dma/p=
 kg-plist=0A#	dma/pkg-message=0A#=0Aecho c - dma=0Amkdir -p dma > /dev/null =
 2>&1=0Aecho c - dma/files=0Amkdir -p dma/files > /dev/null 2>&1=0Aecho x - =
 dma/files/patch-libexec_dma_net.c=0Ased 's/^X//' >dma/files/patch-libexec_d=
 ma_net.c << '1daa97669b2ef63dd052e1b54a02099a'=0AX--- libexec/dma/net.c.ori=
 g	2008-09-30 19:47:21.000000000 +0200=0AX+++ libexec/dma/net.c	2009-01-17 1=
 9:02:43.000000000 +0100=0AX@@ -342,14 +342,10 @@=0AX 				it->queueid);=0AX =
 		else=0AX 			goto out;=0AX-	}=0AX-=0AX-	/*=0AX-	 * If the user doesn't wan=
 t STARTTLS, but SSL encryption, we=0AX-	 * have to enable SSL first, then s=
 end EHLO=0AX-	 */=0AX-	if (((config->features & STARTTLS) =3D=3D 0) &&=0AX-=
 	    ((config->features & SECURETRANS) !=3D 0)) {=0AX+		/*=0AX+		 * The cli=
 ent SHOULD send an EHLO command as the=0AX+		 * first command after a succe=
 ssful TLS negotiation.=0AX+		 */=0AX 		send_remote_command(fd, "EHLO %s", h=
 ostname());=0AX 		if (read_remote(fd, 0, NULL) !=3D 2) {=0AX 			syslog(LOG_=
 ERR, "%s: remote delivery deferred: "=0A1daa97669b2ef63dd052e1b54a02099a=0A=
 echo x - dma/files/patch-Makefile=0Ased 's/^X//' >dma/files/patch-Makefile =
 << 'a4cc689ada89d8919f060a792958ffe7'=0AX--- /dev/null	2009-01-17 17:24:56.=
 000000000 +0100=0AX+++ Makefile	2009-01-17 17:25:04.000000000 +0100=0AX@@ -=
 0,0 +1,3 @@=0AX+DISTRIBUTION=3Dportsmaildma=0AX+SUBDIR=3Dlibexec/dma=0AX+.i=
 nclude <bsd.subdir.mk>=0Aa4cc689ada89d8919f060a792958ffe7=0Aecho x - dma/fi=
 les/dma.rb=0Ased 's/^X//' >dma/files/dma.rb << 'd99f68d0c1aa7213713d516d9b6=
 c7018'=0AX#!/usr/bin/env ruby=0AX# Copyright (c) 2009 Daniel Roethlisberger=
  <daniel@roe.ch>=0AX# All rights reserved.=0AX# =0AX# Redistribution and us=
 e in source and binary forms, with or without=0AX# modification, are permit=
 ted provided that the following conditions=0AX# are met:=0AX# 1. Redistribu=
 tions of source code must retain the above copyright=0AX#    notice unmodif=
 ied, this list of conditions, and the following=0AX#    disclaimer.=0AX# 2.=
  Redistributions in binary form must reproduce the above copyright=0AX#    =
 notice, this list of conditions and the following disclaimer in the=0AX#   =
  documentation and/or other materials provided with the distribution.=0AX# =
 =0AX# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AN=
 D=0AX# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, TH=
 E=0AX# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR P=
 URPOSE=0AX# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE=
  LIABLE=0AX# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR C=
 ONSEQUENTIAL=0AX# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SU=
 BSTITUTE GOODS=0AX# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS=
  INTERRUPTION)=0AX# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER =
 IN CONTRACT, STRICT=0AX# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERW=
 ISE) ARISING IN ANY WAY=0AX# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVIS=
 ED OF THE POSSIBILITY OF=0AX# SUCH DAMAGE.=0AX# =0AX# $FreeBSD$=0AX=0AX# Wr=
 apper around dma(8) which implements the missing -t sendmail option.=0AX# W=
 ARNING: The address parsing is very incomplete and might break.=0AX=0AXrequ=
 ire 'open3'=0AX=0AXdma =3D $0.gsub(/.rb$/, '')=0AX=0AXif ARGV.delete "-t"=
 =0AX	msg =3D STDIN.read=0AX	head, cr, body =3D msg.split(/(?<=3D\n)(\r?)\n/=
 , 2)=0AX	tmphead =3D head.gsub(/\n\s+/m, ' ')=0AX	rcpts =3D []=0AX	tmphead.=
 gsub(/^(?:to|cc|bcc):\s.*$/i) do |match|=0AX		match.sub(/^[^:]+:\s*/, '').s=
 plit(/\s*[,;]\s*/).each do |addr|=0AX			rcpts << addr.sub(/.*<([^<>]+)>.*/,=
  '\\1')=0AX		end=0AX	end=0AX	head.gsub!(/^bcc:.*\n/i, '')=0AX	Open3.popen3(=
 dma, *ARGV.concat(rcpts)) do |i,o,e|=0AX		i.write head=0AX		i.write "#{cr}\=
 n"=0AX		i.write body=0AX		i.close_write=0AX		print o.read=0AX		print e.read=
 =0AX	end=0AXelse=0AX	exec(dma, *ARGV)=0AXend=0AX=0Ad99f68d0c1aa7213713d516d=
 9b6c7018=0Aecho x - dma/Makefile=0Ased 's/^X//' >dma/Makefile << '733fe10ed=
 2908626499b88c0ed44262c'=0AX# New ports collection makefile for:	dma=0AX# D=
 ate created:				2009-01-17=0AX# Whom:					Daniel Roethlisberger <daniel@roe=
 .ch>=0AX#=0AX# $FreeBSD$=0AX#=0AX=0AXPORTNAME=3D	dma=0AXPORTVERSION=3D	2009=
 0208=0AXCATEGORIES=3D	mail ipv6=0AXMASTER_SITES=3D	http://mirror.roe.ch/dis=
 t/dma/=0AX=0AXMAINTAINER=3D	daniel@roe.ch=0AXCOMMENT=3D	DragonFly Mail Agen=
 t, a small MTA for local/outbound mail=0AX=0AXUSE_BZIP2=3D	yes=0AXUSE_OPENS=
 SL=3D	yes=0AX=0AXMAN8=3D		dma.8=0AX=0AXPKGMESSAGE=3D	${WRKDIR}/pkg-message=
 =0AX=0AXCFLAGS+=3D	"-I${OPENSSLINC}"=0AXLDFLAGS+=3D	"-L${OPENSSLLIB}"=0AX=
 =0AXpost-patch:=0AX	@${REINPLACE_CMD} -e 's,/etc/dma,${PREFIX}/etc/dma,g' \=
 =0AX		${WRKSRC}/libexec/dma/dma.8 \=0AX		${WRKSRC}/libexec/dma/dma.h=0AX	@$=
 {REINPLACE_CMD} -e 's, /etc/dma, ${PREFIX}/etc/dma,g' \=0AX		${WRKSRC}/etc/=
 dma/dma.conf=0AX=0AXdo-install:=0AX	${INSTALL} -o root -g mail -m 2555 ${WR=
 KSRC}/libexec/dma/dma ${PREFIX}/libexec=0AX	${INSTALL_SCRIPT} ${FILESDIR}/d=
 ma.rb ${PREFIX}/libexec=0AX	${INSTALL_MAN} ${WRKSRC}/libexec/dma/dma.8 ${PR=
 EFIX}/man/man8/=0AX	${MKDIR} ${PREFIX}/etc/dma=0AX.for i in dma.conf virtus=
 ertable=0AX	${INSTALL_DATA} -m 0644 ${WRKSRC}/etc/dma/${i} ${PREFIX}/etc/dm=
 a/${i}.sample=0AX.endfor=0AX	${INSTALL} -o root -g mail -m 0640 ${WRKSRC}/e=
 tc/dma/auth.conf \=0AX		${PREFIX}/etc/dma/auth.conf.sample=0AX.for i in dma=
 .conf virtusertable auth.conf=0AX	if [ ! -f ${PREFIX}/etc/dma/${i} ]; then =
 \=0AX		${CP} -p ${PREFIX}/etc/dma/${i}.sample \=0AX			${PREFIX}/etc/dma/${i=
 } ; \=0AX	fi=0AX.endfor=0AX	${INSTALL} -d -o root -g mail -m 770 /var/spool=
 /dma=0AX	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' pkg-message > ${PKGMESSAGE}=
 =0AX=0AXpost-install:=0AX	@${CAT} ${PKGMESSAGE}=0AX=0AX.include <bsd.port.m=
 k>=0A733fe10ed2908626499b88c0ed44262c=0Aecho x - dma/distinfo=0Ased 's/^X//=
 ' >dma/distinfo << '0387bf614ff7e98d784c5f4b757dcd93'=0AXMD5 (dma-20090208.=
 tar.bz2) =3D 3284c870aad1c5248254aeee9cb2ae9d=0AXSHA256 (dma-20090208.tar.b=
 z2) =3D 77524d6f6366e69d730c3d8cdcf2fe35a0cd28a6da7425def11bd4881043eaa3=0A=
 XSIZE (dma-20090208.tar.bz2) =3D 17252=0A0387bf614ff7e98d784c5f4b757dcd93=
 =0Aecho x - dma/pkg-descr=0Ased 's/^X//' >dma/pkg-descr << 'aa2448ab7162a85=
 f2823422b61280644'=0AXThe DragonFly Mail Agent is a small Mail Transport Ag=
 ent (MTA),=0AXdesigned for home and office use.  It accepts mails from loca=
 lly=0AXinstalled Mail User Agents (MUA) and delivers the mails either=0AXlo=
 cally or to a remote destination.  Remote delivery includes=0AXseveral feat=
 ures like TLS/SSL support and SMTP authentication.=0AX=0AXSince dma is not =
 intended as a replacement for real, big MTAs=0AXlike sendmail(8) or postfix=
 (1), it does not listen on port 25=0AXfor incoming connections.=0AX=0AXWWW:=
  http://www.dragonflybsd.org/=0Aaa2448ab7162a85f2823422b61280644=0Aecho x -=
  dma/pkg-plist=0Ased 's/^X//' >dma/pkg-plist << '677014bb7765b915dfbf8c4c26=
 978833'=0AXlibexec/dma=0AXlibexec/dma.rb=0AX@unexec if cmp -s %D/etc/dma/dm=
 a.conf.sample %D/etc/dma/dma.conf; then rm -f %D/etc/dma/dma.conf; fi=0AXet=
 c/dma/dma.conf.sample=0AX@exec if [ ! -f %B/dma.conf ] ; then cp -p %B/%f %=
 B/dma.conf; fi=0AX@unexec if cmp -s %D/etc/dma/auth.conf.sample %D/etc/dma/=
 auth.conf; then rm -f %D/etc/dma/auth.conf; fi=0AXetc/dma/auth.conf.sample=
 =0AX@exec if [ ! -f %B/auth.conf ] ; then cp -p %B/%f %B/auth.conf; fi=0AX@=
 unexec if cmp -s %D/etc/dma/virtusertable.sample %D/etc/dma/virtusertable; =
 then rm -f %D/etc/dma/virtusertable; fi=0AXetc/dma/virtusertable.sample=0AX=
 @exec if [ ! -f %B/virtusertable ] ; then cp -p %B/%f %B/virtusertable; fi=
 =0AX@dirrmtry etc/dma=0AX@exec install -d -o root -g mail -m 770 /var/spool=
 /dma=0AX@unexec rmdir /var/spool/dma 2>/dev/null || true=0A677014bb7765b915=
 dfbf8c4c26978833=0Aecho x - dma/pkg-message=0Ased 's/^X//' >dma/pkg-message=
  << 'b39e999cc4d6d18a6b16a617dc018a9b'=0AX=0AXTo enable dma please edit /et=
 c/mail/mailer.conf to replace all lines=0AXreferring to another MTA with th=
 e following:=0AX=0AXsendmail	%%PREFIX%%/libexec/dma=0AXsend-mail	%%PREFIX%%=
 /libexec/dma=0AX=0AXIf you need sendmail -t compatibility, e.g. for send-pr=
 (1), you may use the=0AXruby wrapper script instead (make sure to install l=
 ang/ruby as well):=0AX=0AXsendmail	%%PREFIX%%/libexec/dma.rb=0AXsend-mail	%=
 %PREFIX%%/libexec/dma.rb=0AX=0AXNote that the ruby wrapper only supports a =
 subset of what is considered valid=0AXemail address syntax by the relevant =
 RFCs.=0AX=0AXIf you not need sendmail anymore, please add in your rc.conf:=
 =0AX=0AXsendmail_enable=3D"NO"=0AXsendmail_submit_enable=3D"NO"=0AXsendmail=
 _outbound_enable=3D"NO"=0AXsendmail_msp_queue_enable=3D"NO"=0AX=0AXAnd you =
 can disable some sendmail specific daily maintenance routines in your=0AX/e=
 tc/periodic.conf file:=0AX=0AXdaily_clean_hoststat_enable=3D"NO"=0AXdaily_s=
 tatus_mail_rejects_enable=3D"NO"=0AXdaily_status_include_submit_mailq=3D"NO=
 "=0AXdaily_submit_queuerun=3D"NO"=0AX=0Ab39e999cc4d6d18a6b16a617dc018a9b=0A=
 exit=0A=0A
 --ZfOjI3PrQbgiZnxM--
State-Changed-From-To: feedback->closed 
State-Changed-By: wxs 
State-Changed-When: Thu Feb 12 00:41:55 UTC 2009 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130658 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/130658: commit references a PR
Date: Thu, 12 Feb 2009 00:41:46 +0000 (UTC)

 wxs         2009-02-12 00:41:34 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail                 Makefile 
   Added files:
     mail/dma             Makefile distinfo pkg-descr pkg-plist 
     mail/dma/files       dma.rb patch-Makefile 
                          patch-libexec_dma_net.c pkg-message.in 
   Log:
   The DragonFly Mail Agent is a small Mail Transport Agent (MTA),
   designed for home and office use.  It accepts mails from locally
   installed Mail User Agents (MUA) and delivers the mails either
   locally or to a remote destination.  Remote delivery includes
   several features like TLS/SSL support and SMTP authentication.
   
   Since dma is not intended as a replacement for real, big MTAs
   like sendmail(8) or postfix(1), it does not listen on port 25
   for incoming connections.
   
   PR:             ports/130658
   Submitted by:   Daniel Roethlisberger <daniel@roe.ch>
   
   Revision  Changes    Path
   1.946     +1 -0      ports/mail/Makefile
   1.1       +55 -0     ports/mail/dma/Makefile (new)
   1.1       +3 -0      ports/mail/dma/distinfo (new)
   1.1       +58 -0     ports/mail/dma/files/dma.rb (new)
   1.1       +6 -0      ports/mail/dma/files/patch-Makefile (new)
   1.1       +21 -0     ports/mail/dma/files/patch-libexec_dma_net.c (new)
   1.1       +31 -0     ports/mail/dma/files/pkg-message.in (new)
   1.1       +11 -0     ports/mail/dma/pkg-descr (new)
   1.1       +14 -0     ports/mail/dma/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
