From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EBE+GbbE32LPigAAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 12:40:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2MEvGLbE32JYPAAAG6o9tA (envelope-from ) for ; Tue, 26 Jul 2022 12:40:54 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1F2D719D1D for ; Tue, 26 Jul 2022 12:40:54 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9108F60810; Tue, 26 Jul 2022 10:40:52 +0000 (UTC) Received: from harrington.uberspace.de (harrington.uberspace.de [185.26.156.85]) by mail.notmuchmail.org (Postfix) with ESMTPS id C5E3B5F802 for ; Tue, 26 Jul 2022 10:40:50 +0000 (UTC) Received: (qmail 24222 invoked by uid 500); 26 Jul 2022 10:34:09 -0000 From: Justus Winter To: notmuch@notmuchmail.org Subject: Sending mail succeeded but signaled failure Date: Tue, 26 Jul 2022 12:34:05 +0200 Message-ID: <87sfmojh7m.fsf@thinkbox> MIME-Version: 1.0 X-Rspamd-Bar: - X-Rspamd-Report: MIME_GOOD(-0.1) MID_RHS_NOT_FQDN(0.5) BAYES_HAM(-1.538343) X-Rspamd-Score: -1.138343 Received: from unknown (HELO unkown) (::1) by harrington.uberspace.de (Haraka/2.8.28) with ESMTPSA; Tue, 26 Jul 2022 12:34:08 +0200 Message-ID-Hash: RKUYFPDPD6BBP6YX6GLYMISIZM5F3YGN X-Message-ID-Hash: RKUYFPDPD6BBP6YX6GLYMISIZM5F3YGN X-MailFrom: justus@sequoia-pgp.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658832054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=rIAuEmrPantUHF9l6D+iv2j/9OQ5gXcobMcUVDwmZCY=; b=mcKZQpSBDcg5iV2pCMCVe9MXPctuiAvENZ8LpWlO1dt+PmeTm6RCvqMq5euBCoo9lB3518 ij+3/3NbwzKBS/3/xUcBsPAecqAYGP4gorcw00XhIrFO0gKTJGE9KbpUXdqk/daKYfwAR7 PCzJfKCmNXvhWImX0z5ShO3Oj+Gt3xXtsgWlc5h8kYTz1hPpQQKhWExcVud2xoZeqiyaR4 EvJILfmdHgPtfY8/nhyQgQlT8rbMgtdNh5TrXojyW1BYvjFOWBNqveQmh2Xig25B6Y8AtH k24FGJ+SbmGJoM/AurienRu4IK3tm8WVrPex3w7Yz7CC4FamYtSTaYO11RgXvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658832054; a=rsa-sha256; cv=none; b=WOqhokKL9MWz2Dh1sGJlizLra7A8AWoAu7sSMUgrgkVOu21RyMEuHfA3ntzB4Z/Fwd14W6 O6Bqusd7A9ga0BjIKthfV1R0GdNb3uJWBon7ARdLrcPNTiKADxdD4cmZK8G1eDDzslngTm 6tmV7To3HP+UOoAHTiLsq+Uu96aiXPe/SCqk4xAL1QQrdSnSbkN1OtZFCZrMIthfYFIYEd 1LnGiYHxSsswOKSiZBrEYwUAn3PDEEk2w/bjUAYvgxQ+PGQso8tfYx+b/039nOA6Sy/QHP 3yWjUBQyHrAySjuKavSR1sO7RZM/bOK4tll4TEE4OvYeDeRRjefr/4l8R99Kkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.57 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 1F2D719D1D X-Spam-Score: -2.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: Sh+eWbpHHlT/ Hello, I just embarrassed myself a little by sending the same mail over and over again. The reason for that is that notmuch-emacs signaled failure, i.e. it displayed an error message in the status buffer and didn't close the compose buffer, yet it did in fact send the mail. I suspect that my configuration has to do with that and someone is trying to be helpful. So I use msmtp with the authentication password encrypted using OpenPGP. Then, I use 'gpg --no-tty -q -d ...' as msmtp's passwordeval function. Now, my OpenPGP key has expired, but that doesn't stop GnuPG from decrypting the secret, and in fact it returns the status code 0. It also prints gpg: Note: secret key 08CC70F8D8CC765A expired at Mon 25 Jul 2022 05:31:26 PM CEST to stderr, which is picked up by notmuch-emacs, it says sending...failed to gpg: Note: secret key 08CC70F8D8CC765A expired at Mon 25 Jul 2022 05:31:26 PM CEST in the status buffer while the compose buffer stays open. I suspect that this is not notmuch's fault, but I don't know where else to turn to with this bug report. Best, Justus