Index: Makefile =================================================================== RCS file: /home/pcvs/ports/mail/dma/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- Makefile 13 Feb 2009 20:19:04 -0000 1.2 +++ Makefile 11 Mar 2009 18:48:28 -0000 @@ -7,7 +7,7 @@ PORTNAME= dma PORTVERSION= 20090208 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail ipv6 MASTER_SITES= http://mirror.roe.ch/dist/dma/ Index: pkg-descr =================================================================== RCS file: /home/pcvs/ports/mail/dma/pkg-descr,v retrieving revision 1.1 diff -u -u -r1.1 pkg-descr --- pkg-descr 12 Feb 2009 00:41:34 -0000 1.1 +++ pkg-descr 11 Mar 2009 18:48:42 -0000 @@ -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 Index: files/dma.rb =================================================================== RCS file: /home/pcvs/ports/mail/dma/files/dma.rb,v retrieving revision 1.2 diff -u -u -r1.2 dma.rb --- files/dma.rb 13 Feb 2009 20:19:04 -0000 1.2 +++ files/dma.rb 11 Mar 2009 18:48:42 -0000 @@ -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|