diff options
author | dhn <dhn@FreeBSD.org> | 2009-03-13 02:12:41 +0800 |
---|---|---|
committer | dhn <dhn@FreeBSD.org> | 2009-03-13 02:12:41 +0800 |
commit | bd8765026d2ce7d2c00eb45ce636f0a111301cb7 (patch) | |
tree | 0b3454eb45dbac3faf4c8a5c62b0d582281ff354 /mail/dma | |
parent | 82feaf365c7e34c74d8fdbe5b860dd59685b4a14 (diff) | |
download | freebsd-ports-gnome-bd8765026d2ce7d2c00eb45ce636f0a111301cb7.tar.gz freebsd-ports-gnome-bd8765026d2ce7d2c00eb45ce636f0a111301cb7.tar.zst freebsd-ports-gnome-bd8765026d2ce7d2c00eb45ce636f0a111301cb7.zip |
- Update pkg-descr
- Minor line endings fix in dma.rb
PR: 132457
Submitted by: Daniel Roethlisberger <daniel@roe.ch>
Approved by: miwi (mentor)
Diffstat (limited to 'mail/dma')
-rw-r--r-- | mail/dma/files/dma.rb | 2 | ||||
-rw-r--r-- | mail/dma/pkg-descr | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/dma/files/dma.rb b/mail/dma/files/dma.rb index 5ad5664b822b..348626b3b8f5 100644 --- a/mail/dma/files/dma.rb +++ b/mail/dma/files/dma.rb @@ -37,7 +37,7 @@ if ARGV.delete "-t" 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 --git a/mail/dma/pkg-descr b/mail/dma/pkg-descr index 2112b74b7124..85dd00774063 100644 --- a/mail/dma/pkg-descr +++ b/mail/dma/pkg-descr @@ -2,7 +2,11 @@ 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. +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 |