getline() returns -1 on erorr or EOF, so use that condition instead of feof() and check that there was no error after the loop exits. Reviewed by: bapt, kevans (both earlier) MFC after: 3 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34159 |
||
---|---|---|
.. | ||
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.conf | ||
dma.h | ||
dns.c | ||
get-version.sh | ||
INSTALL | ||
LICENSE | ||
local.c | ||
mail.c | ||
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