GNU bug report logs - #36239
[PATCH] opensmtpd-service-type to extend pam

Previous Next

Package: guix-patches;

Reported by: Kristofer Buffington <kristofer <at> walletsworth.com>

Date: Sun, 16 Jun 2019 03:38:02 UTC

Severity: normal

Tags: patch

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Kristofer Buffington <kristofer <at> walletsworth.com>
Subject: bug#36239: closed (Re: [bug#36239] [PATCH] opensmtpd-service-type
 to extend pam)
Date: Thu, 20 Jun 2019 14:02:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#36239: [PATCH] opensmtpd-service-type to extend pam

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 36239 <at> debbugs.gnu.org.

-- 
36239: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36239
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 36239-done <at> debbugs.gnu.org,
 Kristofer Buffington <kristofer <at> walletsworth.com>
Subject: Re: [bug#36239] [PATCH] opensmtpd-service-type to extend pam
Date: Thu, 20 Jun 2019 16:01:13 +0200
[Message part 3 (text/plain, inline)]
Ludovic Courtès wrote:
> LGTM, please push Tobias!

Done with ace8e269a40b31a9c6f413c0674529880da6a48e.

Thanks, Kristofer!

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Kristofer Buffington <kristofer <at> walletsworth.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] opensmtpd-service-type to extend pam
Date: Sat, 15 Jun 2019 22:45:46 -0400
[0001-gnu-services-mail.scm.patch (text/x-patch, inline)]
From 4498a2c9e1453cb81b54231a5203bc55019e62db Mon Sep 17 00:00:00 2001
From: Kristofer Buffington <kristoferbuffington <at> gmail.com>
Date: Wed, 12 Jun 2019 16:34:30 -0400
Subject: [PATCH] * gnu/services/mail.scm added %opensmtpd-pam-services to the
 opensmtpd-service-type
To: guix-patches <at> gnu.org

---
 gnu/services/mail.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index 216b2c80b0..e54d7eb3c1 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2017, 2018 Clément Lassieur <clement <at> lassieur.org>
 ;;; Copyright © 2017 Carlo Zancanaro <carlo <at> zancanaro.id.au>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2019 Kristofer Buffington <kristoferbuffington <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1667,6 +1668,9 @@ accept from local for any relay
            (mkdir-p "/var/spool/smtpd")
            (chmod "/var/spool/smtpd" #o711))))))
 
+(define %opensmtpd-pam-services
+  (list (unix-pam-service "smtpd")))
+
 (define opensmtpd-service-type
   (service-type
    (name 'opensmtpd)
@@ -1675,6 +1679,8 @@ accept from local for any relay
                              (const %opensmtpd-accounts))
           (service-extension activation-service-type
                              opensmtpd-activation)
+          (service-extension pam-root-service-type
+                             (const %opensmtpd-pam-services))
           (service-extension profile-service-type
                              (compose list opensmtpd-configuration-package))
           (service-extension shepherd-root-service-type
-- 
2.18.0




This bug report was last modified 5 years and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.