From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eF9OFnSTBGF+JgEAgWs5BA (envelope-from ) for ; Sat, 31 Jul 2021 02:04:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uB75EXSTBGE+ZwAA1q6Kng (envelope-from ) for ; Sat, 31 Jul 2021 00:04:04 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 D8D6C214F3 for ; Sat, 31 Jul 2021 02:04:02 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 307C5293FF; Fri, 30 Jul 2021 20:03:57 -0400 (EDT) X-Greylist: delayed 1095 seconds by postgrey-1.36 at nmbug; Wed, 26 May 2021 12:42:31 EDT Received: from dormouse.elm.relay.mailchannels.net (dormouse.elm.relay.mailchannels.net [23.83.212.50]) by mail.notmuchmail.org (Postfix) with ESMTPS id 8C3A22B1E2 for ; Wed, 26 May 2021 12:42:31 -0400 (EDT) X-Sender-Id: dreamhost|x-authsender|tuliom@ascii.art.br Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4E0691826D6 for ; Wed, 26 May 2021 16:24:12 +0000 (UTC) Received: from pdx1-sub0-mail-a10.g.dreamhost.com (100-96-16-68.trex.outbound.svc.cluster.local [100.96.16.68]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3AF26182599 for ; Wed, 26 May 2021 16:24:08 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|tuliom@ascii.art.br Received: from pdx1-sub0-mail-a10.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.16.68 (trex/6.2.1); Wed, 26 May 2021 16:24:12 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|tuliom@ascii.art.br X-MailChannels-Auth-Id: dreamhost X-Scare-Absorbed: 06eddf136e382641_1622046250458_3355262510 X-MC-Loop-Signature: 1622046250458:2185765284 X-MC-Ingress-Time: 1622046250458 Received: from pdx1-sub0-mail-a10.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a10.g.dreamhost.com (Postfix) with ESMTP id D2DD77E65F for ; Wed, 26 May 2021 09:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ascii.art.br; h=from:to :subject:date:message-id:mime-version:content-type; s= ascii.art.br; bh=vtbjakmcPAL+W04NG22m0mRkhx8=; b=GO8VTzwlh0vL4Zx NhC16tP09f4wwjK5vtGxgUjVCaGuJ+GAmBy2dFj0EQ3srbS764CUcIWcIhmBKB4L vPBr7ENyRctMZ7UptY0PwDek/55QW2vMoys6ZiVG8Snuicma9NejEPWZIPQ6lX1Z E8xv7wfQ8fYiMEtQ5Lt08rlhRbJw= Received: from ascii.art.br (unknown [187.86.75.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: tuliom@ascii.art.br) by pdx1-sub0-mail-a10.g.dreamhost.com (Postfix) with ESMTPSA id 61B0C7DF31 for ; Wed, 26 May 2021 09:24:04 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a10 From: Tulio Magno Quites Machado Filho To: notmuch@notmuchmail.org Subject: Feature request: Search header Reply-to when using search prefix from User-Agent: Notmuch/0.31.3 (http://notmuchmail.org) Emacs/27.2 (x86_64-redhat-linux-gnu) Date: Wed, 26 May 2021 13:24:01 -0300 Message-ID: <87k0nl8nvi.fsf@linux.ibm.com> MIME-Version: 1.0 X-MailFrom: tuliom@ascii.art.br X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 Message-ID-Hash: P6E54ATHN5UG5O4HTNRG27MM4HWAOXI3 X-Message-ID-Hash: P6E54ATHN5UG5O4HTNRG27MM4HWAOXI3 X-Mailman-Approved-At: Sat, 31 Jul 2021 00:03:53 -0400 X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627689843; 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-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0lsXyjc76rYlMicK0wk1yr0iaLPa+UDnjNvXHj94vKI=; b=hk+yrsKX7QNnKw8Tu6xnjvCUry2NI+JNEex24a8mG3cLmYa+SmimIMLmvbbA5lydbGu2h4 c3+vetYHnjRILQmk1IN3Zeh6WEWB43858v2PTZ9b7rbLbHOtG7gqZt6AasNr/ihi9ngyex 5zTFIC80CtDcpsDBIqOdp54ChLlH6L7ZJgXVUcC7nrYbsUnKTrxaNrwyrPypJG+gKQm84k Cb0cqFL8xz+WfFzOdyHRBHv4KXvOX88fcMHKF/mG54ePSEkpqDCUSEyPDfP328gYZD+Nzr 5AyVldDXfp2FdrZHWtcnammitIMwbJs3i3PWUm/4xC7upMQHYo7SNd9+Lz24NA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627689843; a=rsa-sha256; cv=none; b=iPAJCP+1SUFN7GyWzw0ekDX2Xq4qXiHKzv3SD9tY7+ydXlARGUidoBfwYOAnvdqua6xkmr gFOlN8Z9BJbR/Vs9Ionh1VFxmRbBjZcFVUVCIdN81g1CCsYuTZqSOZnEvvTNrPWe2rjHhR pCGGNJrMcXToDcVy52nBHi81Kzr4Zfg5dTdhSLvZOlhLpANKPepEyykTPCEaqWTAQEOGp1 zEutZSn0ugef1ts6H3RiWObB+jAQUPcuWqXxBzi3KGSXUr1C3zm0IwtAg/xhssFkCiYtpZ CepAZxi3QjcY0hQv8bwO9YwRfcLWYsBNhOq8d0OehwqiD8KHXhBbTB93oaPmfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=ascii.art.br header.s=ascii.art.br header.b=GO8VTzwl; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=ascii.art.br header.s=ascii.art.br header.b=GO8VTzwl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=ascii.art.br (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: D8D6C214F3 X-Spam-Score: 0.09 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2wp2TIIyJyD1 tl;dr; This is a request for the search prefix 'from:' to look at both headers 'From:' and 'Reply-to:'. Detailed explanation: Unfortunately DMARC broke the usage of the From: header in mailing lists. When we use the search prefix 'from:' we don't get the emails we expect anymore because mailing lists that respect DMARC have to replace them [1]. One of the solutions adopted by mailing lists is to set the Reply-To: header with the original address. That is forcing notmuch users to index that header, but whenever we search emails from a person, we have to search for: from:person@example.com OR ReplyTo:person@example.com This feature request is similar to what is done for search prefix 'to:' which searches on headers 'To', 'Cc' and 'Bcc'. [1] https://dmarc.org/wiki/FAQ#I_operate_a_mailing_list_and_I_want_to_interoperate_with_DMARC.2C_what_should_I_do.3F Thank you! -- Tulio Magno