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