d21e71efce
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
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