ports/132457: [maintainer] mail/dma minor wrapper fix and pkg-descr update
Daniel Roethlisberger
daniel at roe.ch
Mon Mar 9 13:40:03 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list