From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 14 20:38:49 2025 Received: (at submit) by debbugs.gnu.org; 15 Jan 2025 01:38:49 +0000 Received: from localhost ([127.0.0.1]:56339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXsMr-000656-3x for submit@debbugs.gnu.org; Tue, 14 Jan 2025 20:38:49 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60834) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tXsMo-00064n-NG for submit@debbugs.gnu.org; Tue, 14 Jan 2025 20:38:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tXsMj-00047r-EU for guix-patches@gnu.org; Tue, 14 Jan 2025 20:38:41 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tXsMh-0006iN-EV for guix-patches@gnu.org; Tue, 14 Jan 2025 20:38:41 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 0ECDA356039; Wed, 15 Jan 2025 01:38:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1736905115; bh=WIPo7DqKylXvHGNMwXUO2po9gXjdWtTQE2RNEthe5B4=; h=From:To:Cc:Subject:Date; b=PDyvP61M4dhg8OTSjoSd1yZD3cynQT5BjbfqxYH+Klkk1l9v/lY2gfyZFyhCBPBwD EneIiA9EWDSYIdYEv7aEr4+7cv3r7HvTQrkNWmg6depn4sWal3Kxb0PluoAg00fJ3m ozb9b9MeUHW6SmvhY0RW4xtHyZVrEB7AYfJnbttEOajqQ3JXZucHG2XqwQ9+hzC4Ym kaWrXbPQqh9K44QmsiFSmdvALeGhV+h38A44JOAPaNkKnaxKOBP6B0ghBb/BUgXEYm psssqm1PdwWU3OBq1rmZQIvnx/OG8SeS09dMpQUQwvefxtat2F2L3TRFPSXs0OQGuo aPOtHhRUdissBerA56pJYgThaC0kYjTx1tDWtoCAdMzFwNKfSiRogZxshtrxbi8GKE xEQvNBZLyWrOcLR/aBX963CAgn7alBrhFPJ0HD3tEsENVEezDCQ3u9LDsM9FgSigo1 GRC0C9bTZFTmdTB9kAnABseU31UWKxTJDJnKSuAmEXvCDNhAH25Wg4f+t4mdWtb9cS 43dj07wiiR6QQTisfuuptnF/xW/8NV6AeF6RRZC4K4JkiwUESzC3R0TQcmFqND2cul KSt/nDsILLgSMMCF2RvZ9Ebh3ZrqQdX639Op8/Fp6YR3nf8JXL/8s3AWpe3dqMGrKf SDKoxqruJTQKsZlSTwoS0Llw= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [193.32.127.158]) by wolfsden.cz (Postfix) with ESMTPSA id 218AA3555AB; Wed, 15 Jan 2025 01:38:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1736905114; bh=WIPo7DqKylXvHGNMwXUO2po9gXjdWtTQE2RNEthe5B4=; h=From:To:Cc:Subject:Date; b=fpJiVzXZWdK5HiO55SW/8xRhhYEz/X5a0LDUXqwooNlLU2qTclOnfb5rGYrm+xj/M tHoMKfqr45DQ94CFvuGngCL4GXEBQsRyYhNAhopqCuYx04mWV8cOg6AVj7GZ9fTlFk jo+pyf5JTsD9hmjaXcIfTEvsUqj8vNkpwuuqKHPP+aWG0S5Z/NuvI6izqaFWu+fOQK ENTPM1ZAGJyqsGegRhlkO8MDJEemEXz/ViJuLx3r/3T90CRh8LlrdndsLAV34qGD5E gemdfi1VzBvDAtr1RPFUUY17FReH2Fy1khR2DSbyRufp1E5Pk8pdkdQA6fAJZivCZd JjMrY7TWJMhE/2dbp2NlTmIo7zO6pXwmq1UGU1a4wQqs+Q6HuOQohS4kj/7CfCdl8S aEE0mnQFlEuwxO0vRNrhhkm2uhSIAL9BmFbUQ4pXi49shTvl3wAwqMdplmRmQZSMYb /NobpOMZ+4LHKCBZSQxHz+el8VABhNkKC9lwCHVjE4bDp0ZfNgieFtoIkwyKAZCm2v quVhINLLf3tcpbpxj4g1sd+dR4MH1RwkE/3UJNAj2nCdsMx9YsUOWyj94RM+WiaND4 sVHQqJe2p7fFzwj/rPSarfd24D0O7Fi7tJ5qOfXLk0eweoNw2vAX2rypDyFCE7rKWb X2AtsPJNkeUia1YXzvRC1cto= From: Tomas Volf <~@wolfsden.cz> To: guix-patches@gnu.org Subject: [PATCH] gnu: opensmtpd: Fix fix for queuing of offline messages. Date: Wed, 15 Jan 2025 02:38:11 +0100 Message-ID: <819164cdd734cac9a531db6c3d0e940efdb579e3.1736905090.git.~@wolfsden.cz> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Tomas Volf <~@wolfsden.cz> 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.0 (/) The substituted path in smtpd.h was not used due to an #ifndef. The correct place to patch it seems to be mk/pathnames. This sadly triggers a bootstrap, so we need to add autoconf and automake to the native-inputs. * gnu/packages/mail.scm (opensmtpd)[arguments]<#:phases> {'patch-test-FHS-file-names}: Patch in mk/pathnames instead. [native-inputs]: Add autoconf and automake. Change-Id: I1d569b8aaae839d6fd4871ccb97c116e6930f1c9 --- gnu/packages/mail.scm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 3744288fa3..5a16d670a3 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -3311,7 +3311,9 @@ (define-public opensmtpd libxcrypt zlib)) (native-inputs - (list bison + (list autoconf + automake + bison groff ;for man pages pkg-config)) (arguments @@ -3336,10 +3338,13 @@ (define-public opensmtpd ;; Fix some incorrectly hard-coded external tool file names. (add-after 'unpack 'patch-FHS-file-names (lambda* (#:key inputs #:allow-other-keys) - ;; avoids warning smtpd: couldn't enqueue offline message - ;; smtpctl exited abnormally - (substitute* "usr.sbin/smtpd/smtpd.h" - (("/usr/bin/smtpctl") "/run/privileged/bin/smtpctl")) + (substitute* "mk/pathnames" + ;; avoids warning smtpd: couldn't enqueue offline message + ;; smtpctl exited abnormally + (("(-DPATH_SMTPCTL=).*\\\\" all def) + (string-append def "\\\"/run/privileged/bin/smtpctl\\\" \\")) + (("(-DPATH_MAKEMAP=).*\\\\" all def) + (string-append def "\\\"/run/privileged/bin/makemap\\\" \\"))) (substitute* "usr.sbin/smtpd/smtpctl.c" ;; ‘gzcat’ is auto-detected at compile time, but ‘cat’ isn't. (("/bin/cat" file) (search-input-file inputs file))) -- 2.47.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 14 23:17:39 2025 Received: (at 75571) by debbugs.gnu.org; 15 Jan 2025 04:17:39 +0000 Received: from localhost ([127.0.0.1]:56545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXuqY-00053C-HL for submit@debbugs.gnu.org; Tue, 14 Jan 2025 23:17:39 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]:45062) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tXuqU-00052z-Hr for 75571@debbugs.gnu.org; Tue, 14 Jan 2025 23:17:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=FKugfnb/KcvULzq sSjojIByLzsp2yXSp9KyGVoTyb5I=; h=date:subject:cc:to:from; d=lease-up.com; b=Bk8q3IHiQFfAadj3t6yuj5XyMKaBTdH7+FxwSmypMqUeITADy6ea ZcPiEZ/oXKSyCIwxT2AYS8gqWPMNt6SDEMuIeVuQSKycAUsAIEMHhNeD3NeBli854HyYAj tC0TrdWqF6Rwxpx0pRpbQsWp+UoyXO1tbZzIZOguC5R0gIdzI= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 051bc18d (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 15 Jan 2025 04:17:31 +0000 (UTC) From: Felix Lechner To: 75571@debbugs.gnu.org Subject: Queued messages in OpenSMTPd User-Agent: mu4e 1.12.7; emacs 29.4 Date: Tue, 14 Jan 2025 20:17:30 -0800 Message-ID: <87frlk4so5.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75571 Cc: Tomas Volf <~@wolfsden.cz> 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: -1.0 (-) Hi Tomas, Okay, maybe your patch is the right way but, aside from adding makemap, is it all that superior? Kind regards, Felix P.S. More power to OpenSMTPd! From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 15 11:22:06 2025 Received: (at 75571) by debbugs.gnu.org; 15 Jan 2025 16:22:07 +0000 Received: from localhost ([127.0.0.1]:58470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tY69e-0000cY-Gy for submit@debbugs.gnu.org; Wed, 15 Jan 2025 11:22:06 -0500 Received: from wolfsden.cz ([37.205.8.62]:36814) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tY69b-0000bd-26 for 75571@debbugs.gnu.org; Wed, 15 Jan 2025 11:22:04 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id C9BF0349E4F; Wed, 15 Jan 2025 16:22:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1736958120; bh=Tla7wuW7UTIUC3JPS3mKJwyUrfJz5+MzSFsQtz6SbFQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=nr8SAy9KTF3SzVRGhuTametTw/tu4s63kcSK8CehWBr2UOqZ0Nx7otSE03YXWricP DehFtBwni1fdcLsjaJJ6qTNRfcZuf5T7BXQGLTj0nvCOYEgzRgiefzLXl3bcCteY9+ sinTPOgNQDKpnbIG5aoHjvUdZE8o5ygFFribhPBs6l4BHUZLYNb0hgS3FhUW0zNijS +e9y5BzZ9KVg3cebnIVdVWWJMyuK0ZgG0CvOzVekr6RrCCuB9gDbl72QUj0XAm1o2M VI22k3Zfp+CpNMGhxWyaB/2g/jXkbb5dDLvPK5JGZBhDTpZcjdz21JcyudxJZ5C1Tc f0adof3diiHfZi5FpkG/B9c2KMlcbiLPwhZzf8Ymh4FR5An0TbExH3EAi9bjkwyxg3 +RkV08I2CIMgwKN/tJRVKIgpu8Ls77gsjXF02Ouyr1veET/ImdGWFoNdi7/YUap235 3jeBvzrcZAXbNFgrEyS/vBtPIXuJcGYnffRUJgyIw/tQaFKEg7iX7eryH7jRrekNuG n+3ORyoCO/iIyfzlbLPsHPKWDf5uUbKTVN3w6xQwnCRrQNusIrmeHurKTvs9C1KCP6 iGpaTDTn9bBXX1uMXnzJPr6yYcydZFrExenuQtfPGkC+5XdXdz1O8feOh3qdF5shNk 8e8WMFesU1/RjcTt565m02cA= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id F3FE234B100; Wed, 15 Jan 2025 16:21:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1736958120; bh=Tla7wuW7UTIUC3JPS3mKJwyUrfJz5+MzSFsQtz6SbFQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=nr8SAy9KTF3SzVRGhuTametTw/tu4s63kcSK8CehWBr2UOqZ0Nx7otSE03YXWricP DehFtBwni1fdcLsjaJJ6qTNRfcZuf5T7BXQGLTj0nvCOYEgzRgiefzLXl3bcCteY9+ sinTPOgNQDKpnbIG5aoHjvUdZE8o5ygFFribhPBs6l4BHUZLYNb0hgS3FhUW0zNijS +e9y5BzZ9KVg3cebnIVdVWWJMyuK0ZgG0CvOzVekr6RrCCuB9gDbl72QUj0XAm1o2M VI22k3Zfp+CpNMGhxWyaB/2g/jXkbb5dDLvPK5JGZBhDTpZcjdz21JcyudxJZ5C1Tc f0adof3diiHfZi5FpkG/B9c2KMlcbiLPwhZzf8Ymh4FR5An0TbExH3EAi9bjkwyxg3 +RkV08I2CIMgwKN/tJRVKIgpu8Ls77gsjXF02Ouyr1veET/ImdGWFoNdi7/YUap235 3jeBvzrcZAXbNFgrEyS/vBtPIXuJcGYnffRUJgyIw/tQaFKEg7iX7eryH7jRrekNuG n+3ORyoCO/iIyfzlbLPsHPKWDf5uUbKTVN3w6xQwnCRrQNusIrmeHurKTvs9C1KCP6 iGpaTDTn9bBXX1uMXnzJPr6yYcydZFrExenuQtfPGkC+5XdXdz1O8feOh3qdF5shNk 8e8WMFesU1/RjcTt565m02cA= From: Tomas Volf <~@wolfsden.cz> To: Felix Lechner Subject: Re: Queued messages in OpenSMTPd In-Reply-To: <87frlk4so5.fsf@lease-up.com> (Felix Lechner's message of "Tue, 14 Jan 2025 20:17:30 -0800") References: <87frlk4so5.fsf@lease-up.com> Date: Wed, 15 Jan 2025 17:21:59 +0100 Message-ID: <87ed14rqs8.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75571 Cc: 75571@debbugs.gnu.org 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: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Felix Lechner writes: > Hi Tomas, > > Okay, maybe your patch is the right way but, aside from adding makemap, > is it all that superior? Well the reason I even wrote this patch is that (at least for me) the original fix no longer works. Notice the path in the following snippet (the commit is current HEAD at the time of writing this): =2D-8<---------------cut here---------------start------------->8--- $ strings $(guix time-machine -q --commit=3Db696658ee8e0655b17f5d26e024956b= 5148e36d6 -- build opensmtpd)/sbin/smtpd | grep smtpctl /gnu/store/7p98k2p2d3zza41sv1npy3y90c280grc-opensmtpd-7.6.0p1/sbin/smtpctl warn: smtpd: couldn't enqueue offline message %s; smtpctl %s =2D-8<---------------cut here---------------end--------------->8--- As you can see, it points into the store. During debugging I noticed two issues: 1. The path in smtpd.h[0] is /usr/sbin/smtpctl, but the code looks for /usr/bin/smtpctl (sbin vs bin). 2. The #define is guarded by #ifndef[1], so even if the path is replaced, it is never used (due to [2]). After my fix, the binary now contains the correct path: =2D-8<---------------cut here---------------start------------->8--- $ strings $(guix build opensmtpd)/sbin/smtpd | grep smtpctl /run/privileged/bin/smtpctl warn: smtpd: couldn't enqueue offline message %s; smtpctl %s =2D-8<---------------cut here---------------end--------------->8--- Does the current version work for you? I do not think I am doing anything weird in my configuration, but I was not able to pinpoint any upstream change that would have effect on this, so I am unsure why the original version stopped working. Have a nice day, Tomas 0: https://github.com/OpenSMTPD/OpenSMTPD/blob/master/usr.sbin/smtpd/smtpd.= h#L81 1: https://github.com/OpenSMTPD/OpenSMTPD/blob/master/usr.sbin/smtpd/smtpd.= h#L80 2: https://github.com/OpenSMTPD/OpenSMTPD/blob/master/mk/pathnames#L7 =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmeH4KcOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/walH0hAAi5PZiVxMFL5JiaXESFKL0RjZMUHHtyrFTkmm cL44+0vRpOHVO29qe/VqzZD8+FW0CtMLA8xqk6bOQc/T5/qCAX8mrPHuMjNekWFD t87eAdSDYiqetQBLN9ceSXHXhiSj7YSGmOP4JEsvymi62O5AEN96eoMZgX+RcpAk Sf2SAfUvfoEEvbhYVYPdvPWsIX2jBeq/173YC1VBe8LT/lShTeRknr8wgzM2nSwf gYJV/GfI/arsjC5IIP8f8pvf6moZ7X3/fVqQVmoRt0aUt8huGaZK0QC0qOxYdheE 2ba+zVVeZA8IVxRPqq2nerfpRW5y4mN1W70GdjVgeMSfXV5SPwbybrpHBtzRW4OL GCuDu616Ha0aEVpL+dP0RGmVQB0ltGR3/vx6QnEVdr1gVCrrlQMgo/6Q52+/YCOr r++yNiKtuDPa0HkJJBQoXdYbam2+PF7XOkOHfSZZISXAwmeY2dJhYvSJWtoVHcIV GYl4EjTi90JqUq8OOo0di8Ap6j97ctRlfuMNLno4aYM6IqixFiEy3lgfouwzHS7v nL1iEhwo2jtRiabeGLGplFyBKwXD8kDTAi4oQWkfsjxeGQKfuaxEFVvK9MNaRfVR bT90Dv+k0VUD9dRQpo+E9fwkCQ+JZrBXdNrokTkeJQlvOAj6srGKna7rLamI5HSp gudXJeU= =2IfI -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 15 13:58:59 2025 Received: (at 75571) by debbugs.gnu.org; 15 Jan 2025 18:58:59 +0000 Received: from localhost ([127.0.0.1]:58728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tY8bT-0007YV-1I for submit@debbugs.gnu.org; Wed, 15 Jan 2025 13:58:59 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]:52226) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tY8bP-0007YL-Oi for 75571@debbugs.gnu.org; Wed, 15 Jan 2025 13:58:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=F3pOixWq2Dp5L+6 iBK+5fYw3HS5XTiG7M/cy1v6svEw=; h=date:references:in-reply-to:subject: cc:to:from; d=lease-up.com; b=oRjVPJctXvwjhE5ftrJqTfMep2ssq3FGh9Kx5DI7 yKlJ/1eJECXpcJ6EZLc9KWsRxC4OCgb96mNpJImA5FoVN868GdyYqiUAhj8SpmEdo29esy v6rmjQg653Ar0ssF2Fdglwl1u6Uhmw5tTo+CjCNFQITpS9xIBhJmfC6SGouyo= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id ee7b6295 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 15 Jan 2025 18:58:51 +0000 (UTC) From: Felix Lechner To: Tomas Volf <~@wolfsden.cz> Subject: Re: Queued messages in OpenSMTPd In-Reply-To: <87ed14rqs8.fsf@wolfsden.cz> (Tomas Volf's message of "Wed, 15 Jan 2025 17:21:59 +0100") References: <87frlk4so5.fsf@lease-up.com> <87ed14rqs8.fsf@wolfsden.cz> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Wed, 15 Jan 2025 10:58:43 -0800 Message-ID: <8734hjucnw.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75571 Cc: Andreas Enge , 75571@debbugs.gnu.org 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: -1.0 (-) Hi Tomas, On Wed, Jan 15 2025, Tomas Volf wrote: > Does the current version work for you? The path is also incorrect in my binary. I'm not sure why I believe it worked once. The issue arises only intermittently, for example when smtpd fails to start after a reboot as it sometimes does locally, and I send mail. The mail queue on my server is presently empty, and I don't have time to experiment. Instead, I take your word for it and wholeheartedly support the acceptance of this patch. Thanks for working on it! Kind regards Felix Cc: Andreas Enge, who may have committed my original change. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 22 09:28:40 2025 Received: (at 75571-done) by debbugs.gnu.org; 22 Jan 2025 14:28:40 +0000 Received: from localhost ([127.0.0.1]:32785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tabig-0004cI-WD for submit@debbugs.gnu.org; Wed, 22 Jan 2025 09:28:40 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:56698) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tabie-0004bz-77 for 75571-done@debbugs.gnu.org; Wed, 22 Jan 2025 09:28:36 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 360FB5E6; Wed, 22 Jan 2025 15:28:28 +0100 (CET) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id ppM5QXBIccWK; Wed, 22 Jan 2025 15:28:27 +0100 (CET) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4E9F02E9; Wed, 22 Jan 2025 15:28:26 +0100 (CET) Date: Wed, 22 Jan 2025 15:28:24 +0100 From: Andreas Enge To: Felix Lechner Subject: Re: Queued messages in OpenSMTPd Message-ID: References: <87frlk4so5.fsf@lease-up.com> <87ed14rqs8.fsf@wolfsden.cz> <8734hjucnw.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8734hjucnw.fsf@lease-up.com> X-Rspamd-Server: hera X-Rspamd-Queue-Id: 360FB5E6 X-Spamd-Result: default: False [-4.97 / 15.00]; NEURAL_HAM(-3.00)[-1.000]; BAYES_HAM(-2.37)[97.11%]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Spamd-Bar: ---- X-Rspamd-Action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75571-done Cc: Tomas Volf <~@wolfsden.cz>, 75571-done@debbugs.gnu.org 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: -1.0 (-) Am Wed, Jan 15, 2025 at 10:58:43AM -0800 schrieb Felix Lechner: > The path is also incorrect in my binary. I'm not sure why I believe it > worked once. > > The mail queue on my server is presently empty, and I don't have time to > experiment. Instead, I take your word for it and wholeheartedly support > the acceptance of this patch. Thanks for working on it! > > Cc: Andreas Enge, who may have committed my original change. Well, I sometimes do this kind of things without understanding them and without remembering them afterwards... The patch looks good on the surface of it, and since the two of you have tested it, I have just pushed it. Thanks! Andreas From unknown Sat Aug 09 04:58:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 20 Feb 2025 12:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator