From nobody Mon Feb 7 04:56:09 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 737DA19AF855; Mon, 7 Feb 2022 04:56:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JsYkf17xjz3tPk; Mon, 7 Feb 2022 04:56:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644209770; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LfwC+BYC7uFYq5w3SfEzfFNxmk+aZm4rqWny8n2nOT8=; b=bg2NwBKeQ1AmwDtD5w+rmh3j1tBp0uSN0gWWf049ExUCi+aaoLqiVPp+NOuWhvnrisT1SE G7+BSOAUsQOKZI8fqY5D/kOlUpvAN6lfX/C/bemktihn2B8hxQMiecgjfRNahYkuHpwLjr E6GGPR+zSuWQfJOSgjTuFZtn55oqYlks0vJI/C6UltJE3nZk6Xwqw+ogqlpV/XEloLVk/8 bV8x+yDBAJ2EC/B5UYD2JBPn7U0YZDWfDrK99cvq3fGdlTe6ykY0Shz4pbp1Nb2GrrxV/V oklTa3Mh7OmwXuGCJR4yTOr4sAtOfa3PGSnj/H2d3s+0wVy0Mx6nL7PAd07Y1w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 02DB61FB14; Mon, 7 Feb 2022 04:56:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2174u93b062420; Mon, 7 Feb 2022 04:56:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2174u9XG062419; Mon, 7 Feb 2022 04:56:09 GMT (envelope-from git) Date: Mon, 7 Feb 2022 04:56:09 GMT Message-Id: <202202070456.2174u9XG062419@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 726505d2f930 - main - mail/nmh*: Change default mail transport method List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 726505d2f93013424c5b852471ac9a3c046b48e3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644209770; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LfwC+BYC7uFYq5w3SfEzfFNxmk+aZm4rqWny8n2nOT8=; b=ZltxmyHNzaK0+cow9G6RAL7/UJ550NkI2tULVmnInp9dWXaBIeRrkg0FnSeRV93nT32BqC m4a03nJz1vufJW0OGy6K/b4CfLCRwaFCuepbWJZFpkSMp03bwAdJp92Mb5eONgXu+haXzC rg9/Xew0EPbmH/ondPgAzfb4/mJt6ZG207fOmkdws6rC2um3wfixR8rhjWqYjVBLkKAAuH 9YGSZiwzKz02x4H43q7fjwLzds2wOLWnWnQgEcJW7AOpvX50egGyW0xArszIRIE6qzd4Tr 8iO4EcvM1MCTjNvlh4Iq0zaIfAhYB7/DdRhbcRpQdhbm4pQkZF+eqagA6iPGkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644209770; a=rsa-sha256; cv=none; b=CopyC/r++fRAkHEB2ut/7lKgxV6RonTQMffwleNLULHKnqLw/RaYtFsytA9/n7a7Wn6ZB+ 9USRFqWSY82DNF+fIcHGkPD5TWDg+GbTlmbKSYfjKxLm1E2vDOple9QvEMANpI287eheoq Zx02RnEJukvw7lKR31P7wgomm0M0uwKJ28J15vNB+3Hwk4fQVKdewOoGyksXAZ8gzwHMgF 4MHKqG1SXt8hYzlr+xLcel5b6kays/Z/tC5vbC8qQWA3B+Tvcu0ep98UuqrpEpjDnNB3ak GO8N3cfSfzoSxCF9I+nBGSi4mO6u8tgxWsBIeVmRK7TvMd/vcR/vJ2ts62k3tQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=726505d2f93013424c5b852471ac9a3c046b48e3 commit 726505d2f93013424c5b852471ac9a3c046b48e3 Author: Cy Schubert AuthorDate: 2022-02-07 00:46:15 +0000 Commit: Cy Schubert CommitDate: 2022-02-07 04:55:24 +0000 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. --- mail/nmh-devel/Makefile | 4 ++-- mail/nmh/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mail/nmh-devel/Makefile b/mail/nmh-devel/Makefile index f73e23615a4a..1e9f9ab1b093 100644 --- a/mail/nmh-devel/Makefile +++ b/mail/nmh-devel/Makefile @@ -2,7 +2,7 @@ PORTNAME= nmh PORTVERSION= ${NMH_COMMIT_DATE} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail PKGNAMESUFFIX= -devel @@ -83,7 +83,7 @@ W3M_DESC= Install dependencies for www/w3m W3M_BUILD_DEPENDS= w3m>=0:www/w3m W3M_RUN_DEPENDS= w3m>=0:www/w3m -OPTIONS_DEFAULT= SMTP FLOCK W3M +OPTIONS_DEFAULT= SENDMAIL_PIPE FLOCK W3M .include diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index a08fe7d75585..6b4b79b075a1 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -2,7 +2,7 @@ PORTNAME= nmh PORTVERSION= 1.7.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail MASTER_SITES= SAVANNAH @@ -77,7 +77,7 @@ W3M_DESC= Install dependencies for www/w3m W3M_BUILD_DEPENDS= w3m>=0:www/w3m W3M_RUN_DEPENDS= w3m>=0:www/w3m -OPTIONS_DEFAULT= SMTP FLOCK W3M +OPTIONS_DEFAULT= SENDMAIL_PIPE FLOCK W3M .include