freebsd-dev/contrib/dma
Ed Maste 1694872231 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
2022-10-12 11:59:01 -04:00
..
test
aliases_parse.y
aliases_scan.l
auth.conf
base64.c
conf.c dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
crypto.c dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
dfcompat.c dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
dfcompat.h
dma-mbox-create.c
dma.8 dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
dma.c dma: exit if invoked with invalid (zero) argc 2022-01-28 17:49:45 -05:00
dma.conf dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
dma.h dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
dns.c dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
get-version.sh dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
INSTALL
LICENSE
local.c dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
mail.c dma: restore addition of newline when missing from input 2022-10-12 11:59:01 -04:00
Makefile dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
Makefile.etc
net.c dma: update to 2022-01-27 snapshot 2022-01-27 14:35:07 -05:00
README.markdown
spool.c dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
TODO
util.c dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02:00
VERSION dma: import snapshot 2021-07-10 2021-09-22 11:10:58 +02: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