msmtp -- An SMTP client
msmtp is an SMTP client that can be used as an "SMTP plugin" for Mutt and
probably other MUAs (mail user agents). It forwards mails to an SMTP server
(for example at a free mail provider) which does the delivery.
To use this program, create a configuration file with your mail account(s) and
tell your MUA to call msmtp instead of /usr/sbin/sendmail.
Features include:
* SMTP AUTH methods PLAIN, LOGIN and CRAM-MD5
(and DIGEST-MD5 and NTLM when compiled with GSASL support)
* TLS encrypted connections
(including server certificate verification and the possibility to send
a client certificate)
* DSN (Delivery Status Notification) support
* IPv6 support (on systems that support it)
* support for multiple accounts
* sendmail compatible exit codes (which most MUAs understand).
===> The following configuration options are available for msmtp-1.8.34:
DOCS=on: Build and/or install documentation
GSASL=off: GSASL support
IDN=off: International Domain Names support
LIBSECRET=off: GNOME password management
MSMTPD=on: Include minimal SMTP server that pipes mails to msmtp
MSMTPQ=on: Install offline messaging scripts
NLS=on: Native Language Support
====> Secure network connection support via TLS: you can only select none or one of them
GNUTLS=on: SSL/TLS support via GnuTLS
OPENSSL=off: SSL/TLS support via OpenSSL
===> Use 'make config' to modify these settings
mail/msmtp: fix the TLS option
Part of commit 61d57c2657e1178dd763c8dd63503a9338525f47 was
converting from *_CONFIGURE_ON to *_CONFIGURE_WITH
for the TLS option. As it is a radio option, it means that one
of the options will be always disabled, resulting in adding
`--without-tls` to the CONFIGURE_ARGS, and no TLS support.
Fix by switching back to CONFIGURE_ON and bump PORTREVISION
to regenerate the package.
Reported by: Scott Robbins
mail/msmtp: remove ca_root_nss dep
msmtp 1.8.2[0] onwards selects the system trust store by
default when TLS is enabled, so ca_root_nss is no longer
necessary.
Other minor changes:
* PORTVERSION -> DISTVERSION
* enable test suite
* simplify Makefile style
[0] https://marlam.de/msmtp/news/msmtp-1-8-2/
Reviewed by: novel
Approved by: lwhsu (mentor)
Signed-off-by: Siva Mahadevan <siva@FreeBSD.org>
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54720
mail/msmtp: don't run autoreconf
The 'autoreconf' was added due to the PATCHFILE added in 04ea6b3ea148.
This patch was later removed, but the 'autoreconf' was left, causing
some issues, for example, requiring gettext during the build stage,
even when NLS is disabled.
Reported by: Ole Lemke
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
mail: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ashish@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam David <adam@FreeBSD.org>
* Adam McDougall <mcdouga9@egr.msu.edu>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Deiter <tiamat@komi.mts.ru>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
* Alex Perel <veers@disturbed.net>
(Only the first 15 lines of the commit message are shown above )
mail/msmtp: update to 1.8.3
This fixes a security problem in version 1.8.2,
when tls_trust_file has its default configuration,
certificate-verification results are not properly checked.
MFH is not needed as 2019Q1 has 1.8.1 which is not affected.
mail/msmtp: update to 1.8.0
- Add MSMTPD option that install minimal SMTP server called msmtpd
that listens on the local host and pipes mails to msmtp
(or another program); enabled by default,
- Upstream switched from libidn to libidn2, update dependency
accordingly,
- Enable GNUTLS by default instead of OPENSSL as per upstream
recommendation [1].
1: https://marlam.de/msmtp/news/openssl-discouraged/
mail/msmtp: update to 1.6.7
Project has moved from sourceforge to a new site, so update
MASTER_SITES and WWW. Also, drop reference to mail/msmtpqueue
(which was integrated into this port long ago) from pkg-descr.
mail/msmtp: depend on bash for msmtpq
When MSMTPQ option (which installs offline message queueing scripts)
is enabled, depend on shells/bash because these scripts require bash.
Bump PORTREVISION.
PR: 220439
Submitted by: Moritz Wilhelmy
MFH: 2017Q3
Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.
PR: 214780
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
- Update security/gnutls to 3.4.10.
- Rename the LIBDANE option DANE because that's the name of the protocol
supported by libgnutls-dane and gnutls-cli. Also clarify the option
description.
- Add an IDN option.
- libgnutls-openssl has been removed in 3.4. Some ports used this library
in their LIB_DEPENDS but no port actually required it.
- Some old API functions have been removed. Ports that used these have been
updated or patched to use the new API.
- Add a patch to print/cups to prevent overlinking of libgnutls.so.
- Bump PORTREVISION on dependent ports.
net-im/jabber: This port used the old API to give users fine grained
control over which crypto algorithms were used via a configuration file.
It's not immediately obvious how to port this to the new API so the port
always uses the defaults now.
www/hydra: Mark BROKEN. This uses more removed calls than the other ports,
is said to be alpha quality and not fully functional and has been abandoned
10 years ago.
PR: 207768
Exp-run by: antoine
Approved by: portmgr (antoine)
mail/msmtp: fix configuration for gnome password management
In order to enable password management, now '--with-libsecret'
option should be used instead of '--with-gnome-keyring'.
So fix configure args and rename the GNOMEKEYRING option to
LIBSECRET.
Also modernize options usage and bump PORTREVISION due to
package change.
PR: 204760 (with minor edits)
Submitted by: John Hein
MFH: 2015Q4
dns/libidn:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Always install libidn-components.png because it is used by libidn.info
- Add -lintl to Libs.private instead of Libs in libidn.pc
- Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
developers)
PR: 191274
Exp-run by: antoine
Approved by: portmgr (antoine)
- Convert security/gsasl to USES=libtool, drop .la files
- Bump revisions of dependent ports as gsasl .so version has changed
- Convert USE_BZIP2 and USE_XZ to USES in some ports
Approved by: portmgr blanket
- Rename option GNOME_KEYRING to GNOMEKEYRING which appears to
be a canonical name for it
- Drop description for options that already have it defined
Noted by: danfe