From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OBKMBtNW6WGEcgAAgWs5BA (envelope-from ) for ; Thu, 20 Jan 2022 13:34:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kNDxAtNW6WHFeAEAauVa8A (envelope-from ) for ; Thu, 20 Jan 2022 13:34:27 +0100 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 A283B2DA99 for ; Thu, 20 Jan 2022 13:34:26 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1A77A5F719; Thu, 20 Jan 2022 12:34:10 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 9E66D5F6EC for ; Thu, 20 Jan 2022 12:34:07 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id EE3AA5FC03; Thu, 20 Jan 2022 07:34:06 -0500 (EST) Received: (nullmailer pid 4003269 invoked by uid 1000); Thu, 20 Jan 2022 12:34:02 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 1/4] test/emacs: match mml settings in emacs_{fcc,deliver}_message Date: Thu, 20 Jan 2022 08:33:51 -0400 Message-Id: <20220120123354.3999579-2-david@tethera.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220120123354.3999579-1-david@tethera.net> References: <20220120123354.3999579-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: 2IQ6OG357UOGC6XVU4IO64NKHRUX6ANX X-Message-ID-Hash: 2IQ6OG357UOGC6XVU4IO64NKHRUX6ANX X-MailFrom: bremner@tethera.net 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-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642682066; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=apCC5mwAJhxJJiXxuO2bNnkIh+uGyJ3ssbKIbtAsO58=; b=EPXDmQu3UUgt1cm226mC5BTBz7u69oMJ1lq9RDFOFU3rxOZGgbsuWKl5A1ik0xsGaQnQYB STGGSu6t+IAVhew9Gx1evNwccDp2hNb2Zj0a5eyTgz8BsQZ1eOvKeBv2c1feECR2+WBXRb 4jXhpBu68v/1lgxWkUS+TiCS6liBZkrOE15+75I8V5bZhj9W3/6ImpX8OGvTcGtpSx19Hq XD9/+YP4jlaJGH+zWOvqaG3RZSbNxUKJANlyHNi2s2pyO5EPxpyp7s/Pm0GoCG0pyYonsb pKZhzxHjclc0EHuP8WCHyh0nXx3hYPrLryNTZSboKBcJ7SqZli/b5VhxK2w+Vw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642682066; a=rsa-sha256; cv=none; b=bonHrtKI6cKxu3BKxtGHf5WbBhnJkfb5FY1yIlX7b0UaQCllxK/F7CgEwb8obMMSNda65y lzltNqz2B7BuixmnIN/s6aDRI9cipBoADXIcgn+ioKomSX85PKVyqQh31EYGtBT3tImK71 YYzea/f6HT6wZYvG1+S7NRw1zwI9UcBHNaURXDpvUa/osBLeRc8wGKJF6YQAKbMwouJ3uj wjUAMxyIaqgNUkx7/1BaKzEQsvd/fVx2ZAKtD/IlqnwdxCM0Rs/85ABjeFQ4Pbl5WGQ4Pc HuNMgcFen2fZJkCvsNtKY9hrvKFgaknsWm/a6OI/54lKLqM9KqwoOEqQ+XqtEg== 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.32 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: A283B2DA99 X-Spam-Score: -2.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: vVQ1jlFbaTHz This will allow the sending of signed messages via smtp in the test suite. --- test/test-lib-emacs.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test-lib-emacs.sh b/test/test-lib-emacs.sh index dde32177..a298526d 100644 --- a/test/test-lib-emacs.sh +++ b/test/test-lib-emacs.sh @@ -54,8 +54,9 @@ emacs_deliver_message () { (message-goto-body) (insert \"${body}\") $* - (notmuch-mua-send-and-exit))" - + (let ((mml-secure-smime-sign-with-sender t) + (mml-secure-openpgp-sign-with-sender t)) + (notmuch-mua-send-and-exit)))" # In case message was sent properly, client waits for confirmation # before exiting and resuming control here; therefore making sure # that server exits by sending (KILL) signal to it is safe. -- 2.34.1