From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 OBo1N57E32LXfgEAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 12:40:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iIHxNp7E32LlNwAAauVa8A (envelope-from ) for ; Tue, 26 Jul 2022 12:40:30 +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) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4AB0719B22 for ; Tue, 26 Jul 2022 12:40:30 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 3DAB26080B; Tue, 26 Jul 2022 10:40:27 +0000 (UTC) X-Greylist: delayed 375 seconds by postgrey-1.36 at yantan; Tue, 26 Jul 2022 10:40:24 UTC Received: from harrington.uberspace.de (harrington.uberspace.de [185.26.156.85]) by mail.notmuchmail.org (Postfix) with ESMTPS id 56B4F5F529 for ; Tue, 26 Jul 2022 10:40:24 +0000 (UTC) Received: (qmail 30123 invoked by uid 500); 26 Jul 2022 10:40:23 -0000 From: Justus Winter To: notmuch@notmuchmail.org Subject: Sending mail succeeded but signaled failure Date: Tue, 26 Jul 2022 12:40:19 +0200 Message-ID: <87k080jgx8.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:40:23 +0200 Message-ID-Hash: MJ2QP44GEG5HMIH2KVC3ILPUTHGTB2T4 X-Message-ID-Hash: MJ2QP44GEG5HMIH2KVC3ILPUTHGTB2T4 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=1658832030; 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=Wh8ypp8XJ1U5a5iw1vliVaPjWborYXg7ust0JtI5QFp6oEF9s2meAcdjx0u6zYqKQ7v6E8 5esabWB7Dw20V1kH8PFSx1hySqOxt42h6RPIyCwG7NnTRIey3PrTEN5IUZi8RcbjOPOE9w /D9YHeNmmZs21C7UGcLS2nQ9fN1fr0Ej9JxZ5tqmOO9peC4HW4gl1R/MOdII1tiBWcjJh3 LDgzZOs3vc8y3Plqs6BD2pdcCIbEcYInCMljdAlaUjPFBuNghXVbCAe0yFZDz/n3WlvDM7 g8l9R2qCmyyBanNmuOozQi/nJKji6SHOdIttID5DUXJswI76m1f3hAGHADigeQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658832030; a=rsa-sha256; cv=none; b=epdj8GrIjsz7+vhsGOM0mYzrTLDAo7NHSzay8Bc+R6z+W4XRGQXw+Js8GKgMx3N4AfYNB7 mKXh6Ujee1LnC4Q+cBFM/N3KFROX5doQQb3NY3KtSGSaZsr12c3O8OKZC4IrULTeOBXQ/j UcosPtQfO/NPyp4CPEYSfHduUHagkC/gCX1e3GeE8urogqmj4SmJcH8m9mLJqJH6GYzH4z OO7NOsr/h0no/z159yNCU2PSty5IbM3hFPmCTJwq1KGF4Hj14dPIxUrjRw+FyJTsUS8M3K MkNlazLodZbeq6zAD5OtPp2UgsoEbIpjMFscAth9RkmwCyPw3LG2MizlQXZTaA== 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.56 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: 4AB0719B22 X-Spam-Score: -2.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: PSKJXW/0hbll 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