freebsd-src/contrib/dma
Ed Maste bd3d597a6b dma: restore addition of newline when missing from input
If input mail does not have a newline on the last line dma must add
one.  This was broken by the addition of long-line splitting, with the
switch from strlen(line) to linelen returned by getline().

PR:		266629
Reviewed by:	bapt, Mikko Lehto
Tested by:	Mikko Lehto
MFC after:	1 week
Fixes:		b0b2d05fd0 ("Split body of mails not respecting...")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D36763

(cherry picked from commit 1694872231)
2022-10-18 21:03:55 -04:00
..
test
aliases_parse.y
aliases_scan.l
auth.conf
base64.c
conf.c
crypto.c
dfcompat.c
dfcompat.h
dma-mbox-create.c
dma.8
dma.c dma: exit if invoked with invalid (zero) argc 2022-02-05 11:26:09 -05:00
dma.conf
dma.h
dns.c
get-version.sh
INSTALL
LICENSE
local.c
mail.c dma: restore addition of newline when missing from input 2022-10-18 21:03:55 -04:00
Makefile
Makefile.etc
net.c
README.markdown
spool.c
TODO
util.c
VERSION

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