freebsd-dev/contrib/dma
Baptiste Daroussin 2382c29e5f Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+
Most important change being:
dma - Fix security hole (#46)

Affecting DragonFly 4.6 and earlier, Matt Dillon fixed this in base after
finding out from BSDNow Episode 152. Comments following were from his commit
which explains better than I. Just taking his change and putting it here as well.

* dma makes an age-old mistake of not properly checking whether a file
owned by a user is a symlink or not, a bug which the original mail.local
also had.

* Add O_NOFOLLOW to disallow symlinks.

Thanks-to: BSDNow Episode 152, made me dive dma to check when they talked
about the mail.local bug.

MFC After:	2 days
2016-08-20 16:36:05 +00:00
..
test
aliases_parse.y Update Dragonfly Mail Agent to v0.10 2015-10-10 23:31:47 +00:00
aliases_scan.l Update Dragonfly Mail Agent to v0.10 2015-10-10 23:31:47 +00:00
auth.conf
base64.c
conf.c Fix build with gcc 4.2 2015-10-11 17:45:20 +00:00
crypto.c
dfcompat.c
dfcompat.h
dma-mbox-create.c Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+ 2016-08-20 16:36:05 +00:00
dma.8 Update Dragonfly Mail Agent to v0.10 2015-10-10 23:31:47 +00:00
dma.c Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+ 2016-08-20 16:36:05 +00:00
dma.conf
dma.h Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+ 2016-08-20 16:36:05 +00:00
dns.c Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+ 2016-08-20 16:36:05 +00:00
get-version.sh Update Dragonfly Mail Agent to v0.10 2015-10-10 23:31:47 +00:00
INSTALL
LICENSE Update Dragonfly Mail Agent to v0.10 2015-10-10 23:31:47 +00:00
local.c Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+ 2016-08-20 16:36:05 +00:00
mail.c Fix build with gcc 4.2 2015-10-11 17:45:20 +00:00
Makefile
Makefile.etc
net.c Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+ 2016-08-20 16:36:05 +00:00
README.markdown Update Dragonfly Mail Agent to v0.10 2015-10-10 23:31:47 +00:00
spool.c Update Dragonfly Mail Agent to v0.10 2015-10-10 23:31:47 +00:00
TODO Update Dragonfly Mail Agent to v0.10 2015-10-10 23:31:47 +00:00
util.c Update Dragonfly Mail Agent to v0.10 2015-10-10 23:31:47 +00:00
VERSION Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+ 2016-08-20 16:36:05 +00:00

dma -- DragonFly Mail Agent

dma 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.

dma is not intended as a replacement for real, big MTAs like sendmail(8) or postfix(1). Consequently, dma does not listen on port 25 for incoming connections.

Building

In Linux:

make

In BSD:

cd bsd && make

Installation

make install sendmail-link mailq-link install-spool-dirs install-etc

See INSTALL for requirements and configuration options.

Contact

Simon Schubert 2@0x2c.org