From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44025) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcLzY-0001dj-Bn for guix-patches@gnu.org; Sat, 15 Jun 2019 23:38:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcLzX-0003Zm-9T for guix-patches@gnu.org; Sat, 15 Jun 2019 23:38:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcLzX-0003Zg-6U for guix-patches@gnu.org; Sat, 15 Jun 2019 23:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hcLzX-0007qF-30 for guix-patches@gnu.org; Sat, 15 Jun 2019 23:38:03 -0400 Subject: [bug#36239] [PATCH] opensmtpd-service-type to extend pam Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:39076) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcLOH-0004U9-U1 for guix-patches@gnu.org; Sat, 15 Jun 2019 22:59:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcLDD-0004ZW-9o for guix-patches@gnu.org; Sat, 15 Jun 2019 22:48:08 -0400 Received: from mail.walletsworth.com ([75.15.5.61]:50222) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hcLDD-0004Tq-3q for guix-patches@gnu.org; Sat, 15 Jun 2019 22:48:07 -0400 Received: from libre (192.168.1.66 [192.168.1.66]) by mail.walletsworth.com (OpenSMTPD) with ESMTPSA id 18b2f9d7 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Sat, 15 Jun 2019 22:47:04 +0000 (UTC) From: Kristofer Buffington Date: Sat, 15 Jun 2019 22:45:46 -0400 Message-ID: <87sgsaxn6t.fsf@walletsworth.com> MIME-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-services-mail.scm.patch Content-Transfer-Encoding: quoted-printable Content-Description: opensmtpd-service-type to extend pam List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36239@debbugs.gnu.org >From 4498a2c9e1453cb81b54231a5203bc55019e62db Mon Sep 17 00:00:00 2001 From: Kristofer Buffington Date: Wed, 12 Jun 2019 16:34:30 -0400 Subject: [PATCH] * gnu/services/mail.scm added %opensmtpd-pam-services to t= he opensmtpd-service-type To: guix-patches@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 =C2=A9 2017, 2018 Cl=C3=A9ment Lassieur ;;; Copyright =C2=A9 2017 Carlo Zancanaro ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2019 Kristofer Buffington ;;; ;;; 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)))))) =20 +(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 --=20 2.18.0