X-Loop: help-debbugs@HIDDEN Subject: bug#57283: opensmtpd: permission issue while trying to deliver messages to mboxes in /var/mail Resent-From: semente <29299+vp99lgom@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Thu, 18 Aug 2022 18:51:02 +0000 Resent-Message-ID: <handler.57283.B.166084861710462 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 57283 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57283 <at> debbugs.gnu.org X-Debbugs-Original-To: "Guix Bug Reports" <bug-guix@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.166084861710462 (code B ref -1); Thu, 18 Aug 2022 18:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2022 18:50:17 +0000 Received: from localhost ([127.0.0.1]:56717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oOkau-0002iW-Ly for submit <at> debbugs.gnu.org; Thu, 18 Aug 2022 14:50:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:60252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <29299+vp99lgom@HIDDEN>) id 1oOjnJ-0007dy-Dy for submit <at> debbugs.gnu.org; Thu, 18 Aug 2022 13:59:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <29299+vp99lgom@HIDDEN>) id 1oOjnJ-0004hj-8O for bug-guix@HIDDEN; Thu, 18 Aug 2022 13:59:01 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <29299+vp99lgom@HIDDEN>) id 1oOjnG-0004Cr-3i for bug-guix@HIDDEN; Thu, 18 Aug 2022 13:59:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A2756240104 for <bug-guix@HIDDEN>; Thu, 18 Aug 2022 19:58:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1660845535; bh=iYJNfvlcB/Wo3kePI6Dtj+OH5Gy2DzjhLd1VDufoHZ8=; h=Date:From:To:Subject:From; b=NdGY9G/kCBH9DzL4m1Qj30KuCgNTRGxnF2XXJezHUVxzUguD4JQuL/aKNb6dwEhBV 4760bG/B/LuhEICqzIuh430BXoHd3upW0bsbciYycAt/idq+nQMwoO3nOemFoDN4OE UJgs4Xj9XbBUyyf+QJ6WuGK4U276Z4XRrRxuRz/a0eSeC6W84Qr9HsFBnRlJ3ONqlL 634uZc4GQzgsPy2S7hp2k+g92dFiIWZs6Sea7ZUpHEuKjUNInGPFZS++oBHsKwiHTv BM40D2sPIG/qj+bSHjY6MO+2jj4d1Id01FoeDrXqZU6m8Mvlf4yjfVjSabt874bNBq hk7qUKv2AfYXw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4M7t183m4wz6tnM for <bug-guix@HIDDEN>; Thu, 18 Aug 2022 19:58:52 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id B196D27C0054 for <bug-guix@HIDDEN>; Thu, 18 Aug 2022 13:58:51 -0400 (EDT) Received: from imap46 ([10.202.2.96]) by compute1.internal (MEProxy); Thu, 18 Aug 2022 13:58:51 -0400 X-ME-Sender: <xms:233-YlhVWJtqCjcvt4Sm0IuXtkIQzUtqPz1dKGio-cEs0onByGEYJw> <xme:233-YqCCX8at9hQv8eFnC8dq2wU1wRWgrMyCXEHCUsNsu_NW7BQQqBFmiwhe8T4-G wghMP1YulWlth1QyqQ> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehledgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkfffhvffutgesthdtredtreertdenucfhrhhomhepshgvmhgvnhht vgcuoedvledvleelodhvphellehlghhomhesphhoshhtvghordhnvghtqeenucggtffrrg htthgvrhhnpeffteeghffgkeekfeejkeeltdefhedufffhfefgleevveelkefggedufeeg feekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hgohhnughimhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddvkedvieeg ieekkedqvdduudekvddttdekqddvledvleelodhvphellehlghhomheppehpohhsthgvoh drnhgvthesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: <xmx:233-YlG25mhfTI6fpnjfcSVDEui5173xLtSaA8-XJKh83nwrlhy0Jw> <xmx:233-YqTSl4cF8VXlrm-Q6TT0zMi5W9E0CJbARXPDXAzvOxP3uMgKAQ> <xmx:233-YizMV8ZzHlGH8JFQHBdmR0qbDePhhtd_PRFSKac48wTOpToczQ> <xmx:233-Yh8TbW3Oz3wCjAVfO3XoKWl4QjDVMhXInocgTYXtktNUpismOg> Feedback-ID: i1c29460b:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 768CC2A20077; Thu, 18 Aug 2022 13:58:51 -0400 (EDT) Mime-Version: 1.0 Message-Id: <3e8915bf-c7cd-4f84-8dfb-b9d82661aef3@HIDDEN> Date: Thu, 18 Aug 2022 17:58:31 +0000 From: semente <29299+vp99lgom@HIDDEN> Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=29299+vp99lgom@HIDDEN; helo=mout02.posteo.de X-Spam_score_int: -36 X-Spam_score: -3.7 X-Spam_bar: --- X-Spam_report: (-3.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_STARTS_WITH_NUMS=0.738, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) X-Mailman-Approved-At: Thu, 18 Aug 2022 14:50:14 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.8 (-) Hello, After setup opensmtpd service in a Guix system I could use it to send local messages but the messages won't be delivered to user's default mailboxes due lack of write permissions for the /var/mail directory. I could only fix this by changing /var/mail permissions to 777. I also tried changing its owner to the user that runs opensmtpd (smtpd user) but it worked only when I give write permissions to all. Related error logs: Aug 18 14:48:32 localhost lockspool: /var/mail/semente.lock: Permission denied Aug 18 17:50:39 localhost smtpd[12620]: 55190016986121ba mda delivery evpid=f923e987d2d9e39b from=<semente@host> to=<semente@host> rcpt=<semente@host> user=semente delay=25m10s result=TempFail stat=Error (terminated; timeout) Thanks, semente
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: semente <29299+vp99lgom@HIDDEN> Subject: bug#57283: Acknowledgement (opensmtpd: permission issue while trying to deliver messages to mboxes in /var/mail) Message-ID: <handler.57283.B.166084861710462.ack <at> debbugs.gnu.org> References: <3e8915bf-c7cd-4f84-8dfb-b9d82661aef3@HIDDEN> X-Gnu-PR-Message: ack 57283 X-Gnu-PR-Package: guix Reply-To: 57283 <at> debbugs.gnu.org Date: Thu, 18 Aug 2022 18:51:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 57283 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 57283: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57283 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.