From unknown Fri Aug 08 15:18:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#33020] [PATCH] gnu: Add nullmailer. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Oct 2018 23:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33020@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.153929922329979 (code B ref -1); Thu, 11 Oct 2018 23:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Oct 2018 23:07:03 +0000 Received: from localhost ([127.0.0.1]:45726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAk2p-0007nS-4X for submit@debbugs.gnu.org; Thu, 11 Oct 2018 19:07:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAk2n-0007my-9d for submit@debbugs.gnu.org; Thu, 11 Oct 2018 19:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAk2f-0002Ci-3F for submit@debbugs.gnu.org; Thu, 11 Oct 2018 19:06:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34656) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAk2e-0002CG-Cc for submit@debbugs.gnu.org; Thu, 11 Oct 2018 19:06:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAk2d-0005rf-4T for guix-patches@gnu.org; Thu, 11 Oct 2018 19:06:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAk2b-0002AU-DH for guix-patches@gnu.org; Thu, 11 Oct 2018 19:06:51 -0400 Received: from tobias.gr ([2001:470:7405::1]:46266) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAk2Z-000266-LO for guix-patches@gnu.org; Thu, 11 Oct 2018 19:06:49 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id b27b2f9f for ; Thu, 11 Oct 2018 23:06:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=ckvehjeVBlyi111uZbdsDhpZHGdi37/7wNES Dmm/dvc=; b=ASYGxcjVuCCZm2tNgADtmuiLpJbF/5lxmNLURvCscX/6DmpyH53s 8SPxcvXa1ur7OVjJc8dgpFTMhqFC3O40ew/A7zT5gqjNm1KmHVwCpIufx7ETH6x6 ol4L1ElscoxFbFNsv1D6GCsLbD3sg8nHI12NZFqKwrn+3vBccewetX3BV9+69nW8 74GhkQFRpAIl1PKDXvU/5BHzmbtgecsFDeKGLi/SCVH+K9Aey7TbvJd8Es8g05z1 oXGKjVPW/DKJdDdAix3MRmUJG+xw366qBafTRNGaBtKYtgHy0F4HATacy4UUuZ2s oP8iXcXRUJ+E7rf5myNM2ZF5G6f0zJv10A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id f1e1f395 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 11 Oct 2018 23:06:40 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Fri, 12 Oct 2018 01:06:32 +0200 Message-Id: <20181011230632.13515-1-me@tobias.gr> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) * gnu/packages/mail.scm (nullmailer): New public variable. --- gnu/packages/mail.scm | 82 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 7348719ed..e7f5584b0 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -45,6 +45,7 @@ (define-module (gnu packages mail) #:use-module (gnu packages) + #:use-module (gnu packages admin) #:use-module (gnu packages aspell) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -225,6 +226,87 @@ software.") ;; Libraries are under LGPLv3+, and programs under GPLv3+. (list gpl3+ lgpl3+)))) +(define-public nullmailer + (package + (name "nullmailer") + (version "2.1") + (source + (origin + (method url-fetch) + (uri (list + (string-append "https://untroubled.org/nullmailer/" + "nullmailer-" version ".tar.gz") + ;; Previous releases are moved to this subdirectory. + (string-append "https://untroubled.org/nullmailer/archive/" + "nullmailer-" version ".tar.gz"))) + (sha256 + (base32 "0gykh0qc86rk0knfvp8ndqkryal3pvqdfdya94wvb6n1cc8p3ild")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list "--enable-tls" + "--localstatedir=/var" + "--sysconfdir=/etc") + #:phases + (modify-phases %standard-phases + (add-before 'check 'patch-test-FHS-file-names + (lambda _ + (with-directory-excursion "test" + (substitute* (list "functions.in" + "tests/send") + ;; Fix some shebangs later generated on the fly. + (("/bin/sh") (which "bash")))) + #t)) + (add-before 'check 'pass-PATH-to-tests + ;; 'runtest' launches each test through 'env -', clearing $PATH. The + ;; tests then source 'functions', which first demands a working $PATH, + ;; and later clobbers it again. Pass our $PATH to the test environment + ;; and don't touch it after that. + (lambda _ + (with-directory-excursion "test" + (substitute* "runtests" + (("env - bash") + (string-append "env - PATH=\"" (getenv "PATH") "\" bash"))) + (substitute* "functions.in" + (("export PATH=.*") ""))) + #t)) + (add-before 'check 'delete-failing-tests + (lambda _ + (with-directory-excursion "test/tests" + (for-each delete-file + (list + ;; XXX 'nullmailer-inject: nullmailer-queue failed: 15' + "inject/queue" + ;; XXX This equires the not-yet-packaged tcpserver. + "protocols"))) + #t)) + (add-before 'install 'skip-install-data-local + ;; Don't attempt to install run-time files outside of the store. + (lambda _ + (substitute* "Makefile" + ((" install-data-local") "")) + #t))))) + (native-inputs + ;; For tests. + `(("daemontools" ,daemontools))) ; for svc + (inputs + `(("gnutls" ,gnutls))) + (home-page "https://untroubled.org/nullmailer/") + (synopsis "Simple relay-only mail transport agent") + (description + "Nullmailer is a simple replacement Mail Transfer Agent (@dfn{MTA}) for +hosts that receive no local mail and only relay mail to a fixed set of smart +relays. It's useful for systems such as Web servers that must be able to send +email notifications, without having to run a full-blown MTA such as sendmail +or qmail. + +Nullmailer is designed to be simple to configure, easy to extend, and secure. +It requires little ongoing administration. The included @command{sendmail} +emulator front-end should allow most (if not all) sendmail-compatible programs +to run without any changes.") + (license (list lgpl2.1+ ; lib/cli++/ (but some files lack headers) + gpl2+)))) ; everything else + (define-public fetchmail (package (name "fetchmail") -- 2.18.0 From unknown Fri Aug 08 15:18:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#33020] [PATCH] gnu: Add nullmailer. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Oct 2018 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 33020@debbugs.gnu.org Received: via spool by 33020-submit@debbugs.gnu.org id=B33020.153963370411893 (code B ref 33020); Mon, 15 Oct 2018 20:02:02 +0000 Received: (at 33020) by debbugs.gnu.org; 15 Oct 2018 20:01:44 +0000 Received: from localhost ([127.0.0.1]:51496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC93f-00035l-Ml for submit@debbugs.gnu.org; Mon, 15 Oct 2018 16:01:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC93b-00035W-Oj for 33020@debbugs.gnu.org; Mon, 15 Oct 2018 16:01:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC93V-0000h3-1P for 33020@debbugs.gnu.org; Mon, 15 Oct 2018 16:01:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC93Q-0000f1-9H; Mon, 15 Oct 2018 16:01:29 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46830 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gC93Q-0007lV-0I; Mon, 15 Oct 2018 16:01:28 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20181011230632.13515-1-me@tobias.gr> Date: Mon, 15 Oct 2018 22:01:26 +0200 In-Reply-To: <20181011230632.13515-1-me@tobias.gr> (Tobias Geerinckx-Rice's message of "Fri, 12 Oct 2018 01:06:32 +0200") Message-ID: <87bm7vc73d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello! Tobias Geerinckx-Rice skribis: > * gnu/packages/mail.scm (nullmailer): New public variable. [...] > + (add-before 'check 'delete-failing-tests > + (lambda _ > + (with-directory-excursion "test/tests" > + (for-each delete-file > + (list > + ;; XXX 'nullmailer-inject: nullmailer-queue fa= iled: 15' > + "inject/queue" > + ;; XXX This equires the not-yet-packaged tcpse= rver. > + "protocols"))) (Typo in the second comment.) If the first failure something we should worry about? > + (synopsis "Simple relay-only mail transport agent") s/transport/transfer/ > + (description > + "Nullmailer is a simple replacement Mail Transfer Agent (@dfn{MTA})= for I think you can remove @dfn here (normally it=E2=80=99s used on a phrase th= at is being introduced, not on an abbreviation.) Otherwise LGTM, thanks! Ludo=E2=80=99. From unknown Fri Aug 08 15:18:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#33020] Progress References: <20181011230632.13515-1-me@tobias.gr> In-Reply-To: <20181011230632.13515-1-me@tobias.gr> Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Feb 2019 23:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33026@debbugs.gnu.org, 33020@debbugs.gnu.org Received: via spool by 33020-submit@debbugs.gnu.org id=B33020.155061766915093 (code B ref 33020); Tue, 19 Feb 2019 23:08:02 +0000 Received: (at 33020) by debbugs.gnu.org; 19 Feb 2019 23:07:49 +0000 Received: from localhost ([127.0.0.1]:56906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwEUP-0003vM-IY for submit@debbugs.gnu.org; Tue, 19 Feb 2019 18:07:49 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:54836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwEUO-0003vB-8P; Tue, 19 Feb 2019 18:07:48 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 13DBB2BCC; Wed, 20 Feb 2019 00:07:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YIRmMcONrHwr; Wed, 20 Feb 2019 00:07:46 +0100 (CET) Received: from jurong (unknown [IPv6:2001:910:103f:0:2d09:8018:be35:9702]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 505D52854; Wed, 20 Feb 2019 00:07:46 +0100 (CET) Date: Wed, 20 Feb 2019 00:07:44 +0100 From: Andreas Enge Message-ID: <20190219230744.GA3513@jurong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Is this patch still of interest, or should we close the bug report? Andreas From unknown Fri Aug 08 15:18:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tobias Geerinckx-Rice Subject: bug#33020: closed (Re: [bug#33020] Progress) Message-ID: References: <20190307132240.GA2183@jurong> <20181011230632.13515-1-me@tobias.gr> X-Gnu-PR-Message: they-closed 33020 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 33020@debbugs.gnu.org Date: Thu, 07 Mar 2019 13:23:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1551964982-27174-1" This is a multi-part message in MIME format... ------------=_1551964982-27174-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #33020: [PATCH] gnu: Add nullmailer. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 33020@debbugs.gnu.org. --=20 33020: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33020 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1551964982-27174-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 33020-done) by debbugs.gnu.org; 7 Mar 2019 13:22:48 +0000 Received: from localhost ([127.0.0.1]:35032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1sz2-00073j-2X for submit@debbugs.gnu.org; Thu, 07 Mar 2019 08:22:48 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:54516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1sz0-00073W-Df; Thu, 07 Mar 2019 08:22:47 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 24014B243; Thu, 7 Mar 2019 14:22:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b2cnGlY_cU3Q; Thu, 7 Mar 2019 14:22:43 +0100 (CET) Received: from jurong (nat-eduroam-36-gw-01-bso.bordeaux.inria.fr [194.199.1.36]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 0157CB233; Thu, 7 Mar 2019 14:22:42 +0100 (CET) Date: Thu, 7 Mar 2019 14:22:40 +0100 From: Andreas Enge To: 33026-done@debbugs.gnu.org, 33020-done@debbugs.gnu.org Subject: Re: [bug#33020] Progress Message-ID: <20190307132240.GA2183@jurong> References: <20181011230632.13515-1-me@tobias.gr> <20190219230744.GA3513@jurong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190219230744.GA3513@jurong> User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 33020-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Two weeks later without any reaction, closing. Andreas ------------=_1551964982-27174-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Oct 2018 23:07:03 +0000 Received: from localhost ([127.0.0.1]:45726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAk2p-0007nS-4X for submit@debbugs.gnu.org; Thu, 11 Oct 2018 19:07:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAk2n-0007my-9d for submit@debbugs.gnu.org; Thu, 11 Oct 2018 19:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAk2f-0002Ci-3F for submit@debbugs.gnu.org; Thu, 11 Oct 2018 19:06:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34656) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAk2e-0002CG-Cc for submit@debbugs.gnu.org; Thu, 11 Oct 2018 19:06:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAk2d-0005rf-4T for guix-patches@gnu.org; Thu, 11 Oct 2018 19:06:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAk2b-0002AU-DH for guix-patches@gnu.org; Thu, 11 Oct 2018 19:06:51 -0400 Received: from tobias.gr ([2001:470:7405::1]:46266) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAk2Z-000266-LO for guix-patches@gnu.org; Thu, 11 Oct 2018 19:06:49 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id b27b2f9f for ; Thu, 11 Oct 2018 23:06:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=ckvehjeVBlyi111uZbdsDhpZHGdi37/7wNES Dmm/dvc=; b=ASYGxcjVuCCZm2tNgADtmuiLpJbF/5lxmNLURvCscX/6DmpyH53s 8SPxcvXa1ur7OVjJc8dgpFTMhqFC3O40ew/A7zT5gqjNm1KmHVwCpIufx7ETH6x6 ol4L1ElscoxFbFNsv1D6GCsLbD3sg8nHI12NZFqKwrn+3vBccewetX3BV9+69nW8 74GhkQFRpAIl1PKDXvU/5BHzmbtgecsFDeKGLi/SCVH+K9Aey7TbvJd8Es8g05z1 oXGKjVPW/DKJdDdAix3MRmUJG+xw366qBafTRNGaBtKYtgHy0F4HATacy4UUuZ2s oP8iXcXRUJ+E7rf5myNM2ZF5G6f0zJv10A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id f1e1f395 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 11 Oct 2018 23:06:40 +0000 (UTC) From: Tobias Geerinckx-Rice To: guix-patches@gnu.org Subject: [PATCH] gnu: Add nullmailer. Date: Fri, 12 Oct 2018 01:06:32 +0200 Message-Id: <20181011230632.13515-1-me@tobias.gr> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) * gnu/packages/mail.scm (nullmailer): New public variable. --- gnu/packages/mail.scm | 82 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 7348719ed..e7f5584b0 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -45,6 +45,7 @@ (define-module (gnu packages mail) #:use-module (gnu packages) + #:use-module (gnu packages admin) #:use-module (gnu packages aspell) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -225,6 +226,87 @@ software.") ;; Libraries are under LGPLv3+, and programs under GPLv3+. (list gpl3+ lgpl3+)))) +(define-public nullmailer + (package + (name "nullmailer") + (version "2.1") + (source + (origin + (method url-fetch) + (uri (list + (string-append "https://untroubled.org/nullmailer/" + "nullmailer-" version ".tar.gz") + ;; Previous releases are moved to this subdirectory. + (string-append "https://untroubled.org/nullmailer/archive/" + "nullmailer-" version ".tar.gz"))) + (sha256 + (base32 "0gykh0qc86rk0knfvp8ndqkryal3pvqdfdya94wvb6n1cc8p3ild")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list "--enable-tls" + "--localstatedir=/var" + "--sysconfdir=/etc") + #:phases + (modify-phases %standard-phases + (add-before 'check 'patch-test-FHS-file-names + (lambda _ + (with-directory-excursion "test" + (substitute* (list "functions.in" + "tests/send") + ;; Fix some shebangs later generated on the fly. + (("/bin/sh") (which "bash")))) + #t)) + (add-before 'check 'pass-PATH-to-tests + ;; 'runtest' launches each test through 'env -', clearing $PATH. The + ;; tests then source 'functions', which first demands a working $PATH, + ;; and later clobbers it again. Pass our $PATH to the test environment + ;; and don't touch it after that. + (lambda _ + (with-directory-excursion "test" + (substitute* "runtests" + (("env - bash") + (string-append "env - PATH=\"" (getenv "PATH") "\" bash"))) + (substitute* "functions.in" + (("export PATH=.*") ""))) + #t)) + (add-before 'check 'delete-failing-tests + (lambda _ + (with-directory-excursion "test/tests" + (for-each delete-file + (list + ;; XXX 'nullmailer-inject: nullmailer-queue failed: 15' + "inject/queue" + ;; XXX This equires the not-yet-packaged tcpserver. + "protocols"))) + #t)) + (add-before 'install 'skip-install-data-local + ;; Don't attempt to install run-time files outside of the store. + (lambda _ + (substitute* "Makefile" + ((" install-data-local") "")) + #t))))) + (native-inputs + ;; For tests. + `(("daemontools" ,daemontools))) ; for svc + (inputs + `(("gnutls" ,gnutls))) + (home-page "https://untroubled.org/nullmailer/") + (synopsis "Simple relay-only mail transport agent") + (description + "Nullmailer is a simple replacement Mail Transfer Agent (@dfn{MTA}) for +hosts that receive no local mail and only relay mail to a fixed set of smart +relays. It's useful for systems such as Web servers that must be able to send +email notifications, without having to run a full-blown MTA such as sendmail +or qmail. + +Nullmailer is designed to be simple to configure, easy to extend, and secure. +It requires little ongoing administration. The included @command{sendmail} +emulator front-end should allow most (if not all) sendmail-compatible programs +to run without any changes.") + (license (list lgpl2.1+ ; lib/cli++/ (but some files lack headers) + gpl2+)))) ; everything else + (define-public fetchmail (package (name "fetchmail") -- 2.18.0 ------------=_1551964982-27174-1-- From unknown Fri Aug 08 15:18:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#33020] [bug#33026] [bug#33020] Progress Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Mar 2019 14:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andreas Enge Cc: Tobias Geerinckx-Rice , 33026@debbugs.gnu.org, 33020-done@debbugs.gnu.org Received: via spool by 33020-done@debbugs.gnu.org id=D33020.15519707033538 (code D ref 33020); Thu, 07 Mar 2019 14:59:02 +0000 Received: (at 33020-done) by debbugs.gnu.org; 7 Mar 2019 14:58:23 +0000 Received: from localhost ([127.0.0.1]:35552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1uTX-0000uv-DT for submit@debbugs.gnu.org; Thu, 07 Mar 2019 09:58:23 -0500 Received: from tobias.gr ([80.241.217.52]:59162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1uTS-0000ud-O7; Thu, 07 Mar 2019 09:58:21 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id b8d60957; Thu, 7 Mar 2019 14:58:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=NXZbrP5j/nW8I2HbhEpsaOn35r36j7zynxyI7buzx3k=; b=kpV+70JCgi7z qkSIN2nfC3ZmG/DlfKUimvHDbnN7eT/lc8FEKCZpqXcD6M5Zh7pKpyZ6O5Co6UTz aiCtWCnCCmIVBQOJTjgfmc2Ppp660NCsexO5A/Di2ZIzvCBuYHsTHHjpBm90iRiJ dKUoRaYhuPRRwjTgLf38t1w5s9kv6XtU3g9aAW3ueHIHC2tHDIEpAcJ2RLzLxjTp iXtQBu9JK4ABazXvjVsI7r+YAqOw/ROSDr2KhF9o7Y3O3OkCKB2jJH/MNa7Y+iPQ cJDpCl148UTHqmca22voU+89HfJuTJVNntaH9z0Oso1MyCrTbJwVu9Q2DmHblKIk QX5wBm9/2A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id ab150290 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 7 Mar 2019 14:58:11 +0000 (UTC) From: Tobias Geerinckx-Rice References: <20181011230632.13515-1-me@tobias.gr> <20190219230744.GA3513@jurong> <20190307132240.GA2183@jurong> <87tvge7qjv.fsf@nckx> <20190307140823.GB2745@jurong> In-reply-to: <20190307140823.GB2745@jurong> Date: Thu, 07 Mar 2019 15:58:09 +0100 Message-ID: <87sgvy7mv2.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas, Andreas Enge wrote: > On Thu, Mar 07, 2019 at 02:38:28PM +0100, Tobias Geerinckx-Rice=20 > wrote: >> Do you think this is reasonable? > > Sorry, actually I did not see your reply from March 4 - the=20 > closing message > was sent to two entangled bug reports (this one and 33020), and=20 > the other > one did not receive any reply. Oh, OK. I hadn't yet received any notification for done-33020=20 when I replied to done-33026, and you did also ping 33026 exactly=20 two weeks ago, so it seemed plausibly=E2=80=A6 intentional? Apologies for= =20 acting slighted. > Apologies for closing this one, and feel free > to reopen 33020 as well if you would still like to push=20 > nullmailer. -done! With an upgrade to 2.2 to boot. Kind regards, T G-R