Move mailwrapper(8) examples from /etc/mail to /usr/share/examples.
libexec/dma: sync with upstream - fix parsing recipient from header - fix '-oi' cmdline option processing - add system hostname to received header comment - read the correct aliases file when invoked as "newaliases" - make verify_server_fingerprint() static - update manpage Discussed with: Sascha Wildner
libexec/dma: sync with upstream - avoid double free in reallocf() - fix use-after-free in deliver() - more meaningful reporting of server greeting errors - minor code cleanup
libexec/dma: split body of mails not respecting RFC5322 When receiving mails with body not respecting RFC5322 [1] (may happen with automatically generated mails, for example from cron(8)), try to split by words finding the last space before 1000's character. If this fails, then simply refuse to further receive and process such input. Taken from: FreeBSD (revision 326641) Discussed with: Sascha Wildner [1] https://tools.ietf.org/html/rfc5322#section-2.1.1
libexec/dma: upgrade from 0.9+ to 0.13+ Summary of changes: - use proper sysexits(3) codes - handle getaddrinfo() failures for SMARTHOSTS gracefully - improve authentication - use space instead of tab in "From " separator - improve logging - refactor dma-mbox-create to use a /var/mail directory fd - don't limit TLS client to TLSv1 - make MASQUERADE config setting override -f - add support for RFC976 From_ lines - add option to verify server certificate fingerprint - fix RCPT TO to be compliant with RFC5321 - rename SECURETRANS option to SECURETRANSFER For a complete commit history see: https://github.com/corecode/dma/commits/master
Add __attribute__((__noreturn__)) to various function prototypes in libexec/. This general cleanup is useful in various ways. It helps the compiler optimize better and it also helps later GCCs detect better when to give -Wimplicit-fallthrough warnings and when not. Found-with: -Wsuggest-attribute=noreturn
mailaddr(7): wave goodbye The information here is somewhere between ancient to obsolete. It refers to a time in the internet's history when manual routing was still useful, talks about UUCP as if its modern, and refers to documents which I had trouble tracking down. It seems unlikely that a manual page in this form would be useful, so just remove it. Also committed in: FreeBSD r325702
build - Remove openssl from base (is now permanently replaced by ressl) * Remove openssl and related code that previous commits by John Marino replaced with libressl. Remove build hooks, base now only uses libressl. * Remove crypto/openssl. This has been replaced by the openssl implementation from ressl. * Remove lib/libcrypto. This has been replaced by lib/librecrypto which generates a private_crypo library only used by base. * Remove lib/libssl. This has been replaced by lib/libressl which generates a private_ssl library only used by base. * NOTE: In addition, John has been working on updating dports to ensure that only the ports-based libssl and libcrypto (both nominally implemented via ressl and not openssl), and that dports packages no longer have any chance of using the private versions of these libraries from base.