Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 2009 14:32:01 +0100
From:      Daniel Roethlisberger <daniel@roe.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        daniel@roe.ch
Subject:   ports/132457: [maintainer] mail/dma minor wrapper fix and pkg-descr update
Message-ID:  <E1LgfaL-0001Ii-IO@calvin.ustdmz.roe.ch>
Resent-Message-ID: <200903091340.n29De2h5062487@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132457
>Category:       ports
>Synopsis:       [maintainer] mail/dma minor wrapper fix and pkg-descr update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 09 13:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
- Due to frequent user request: Clearly state the limitations of
  the current dma implementation with regard to MX lookups.
- Minor line endings fix in dma.rb.
>How-To-Repeat:
>Fix:
--- dma-r2.diff begins here ---
diff -ruN dma.orig/Makefile dma/Makefile
--- dma.orig/Makefile	2009-02-13 21:19:04.000000000 +0100
+++ dma/Makefile	2009-03-09 14:24:01.000000000 +0100
@@ -7,7 +7,7 @@
 
 PORTNAME=	dma
 PORTVERSION=	20090208
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail ipv6
 MASTER_SITES=	http://mirror.roe.ch/dist/dma/
 
diff -ruN dma.orig/files/dma.rb dma/files/dma.rb
--- dma.orig/files/dma.rb	2009-02-13 21:19:04.000000000 +0100
+++ dma/files/dma.rb	2009-03-09 11:57:23.000000000 +0100
@@ -37,7 +37,7 @@
 	msg = STDIN.read
 	head, cr, body = msg.split(/\n(\r?)\n/, 2)
 	head = head + "\n"
-	tmphead = head.gsub(/\n\s+/m, ' ')
+	tmphead = head.gsub(/\r?\n\s+/m, ' ')
 	rcpts = []
 	tmphead.gsub(/^(?:to|cc|bcc):\s.*$/i) do |match|
 		match.sub(/^[^:]+:\s*/, '').split(/\s*[,;]\s*/).each do |addr|
diff -ruN dma.orig/pkg-descr dma/pkg-descr
--- dma.orig/pkg-descr	2009-02-12 01:41:34.000000000 +0100
+++ dma/pkg-descr	2009-03-09 12:10:18.000000000 +0100
@@ -2,7 +2,11 @@
 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.
+several features like TLS/SSL support and SMTP authentication,
+but not MX record lookups.  Therefore, dma is currently not
+suitable for direct remote delivery.  However, it works very
+well for handling local mail plus secure mail submission to a
+remote smarthost (e.g. for travelling mobile computers).
 
 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
--- dma-r2.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1LgfaL-0001Ii-IO>