1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/mail/nmh
Cy Schubert 726505d2f9 mail/nmh*: Change default mail transport method
nmh supports three mail transport methods: smtp, which submits email to
the submission port (587), sendmail/smtp, submitting SMTP to the MTA
through a pipe, and sendmail/pipe, submitting raw email to the MTA where
the MTA extracts the from and to headers from the email itself, using
sendmail -t.

The reason for this change is to support the upcoming 14-CURRENT
switchover from sendmail to dma (DragonflyBSD Mail Agent). The dma agent
only supports SMTP over port 25 and works well using sendmail -t while
all other transport methods do not work.

This change only affects new installs of nmh and nmh-devel.  Users of
existing nmh installations who wish to use the new dma agent will need
to alter ${LOCALBASE}/etc/nmh/mts.conf by hand by changing the mts
statement to mts: sendmail/pipe. The existing file is not altered when
pkg upgrade is invoked. However users of sendmail in base, sendmail
port, postfix, exim, and qmail are not affected by this and may use
their existing mts.conf.

The dma agent is not currently installed by default but users may install
it by enabling MK_DMAGENT in src.conf and building/installing 14-CURRENT
world. This patch allows nmh to work with dma agent when it is installed
and made to be the default MTA in /etc/mail/mailer.conf.
2022-02-06 20:55:24 -08:00
..
distinfo
Makefile mail/nmh*: Change default mail transport method 2022-02-06 20:55:24 -08:00
pkg-descr
pkg-message
pkg-plist