From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id CB291246A1 for ; Thu, 7 Mar 2024 10:03:50 +0100 (CET) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1ri9fD-0000000AgFO-2KrC for ml@inbox.vuxu.org; Thu, 07 Mar 2024 03:03:43 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1ri9fD-00000001bF5-1Lso for ml@inbox.vuxu.org; Thu, 07 Mar 2024 03:03:43 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1ri9f5-00000001bEw-2hdj for ding@lists.math.uh.edu; Thu, 07 Mar 2024 03:03:40 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1ri9ey-00000007HCD-2w40 for ding@lists.math.uh.edu; Thu, 07 Mar 2024 03:03:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=LTTjq72JvFhzQ2FzFjr5OX/EDU9wLJkhYIaO5oulZog=; b=MaCDuFO32/zDLTP0lUxNuM6jZF dceTYvQve93PqGqfuixP9k1h9+hVUIuQDVAzZSSbpVHp2jncpBB4W4PHs7wLzzDSgXWJZwXmvyk/q 2dzezQ2x0B5IVCGjRW6jFMPHxol9QRHAcq1K0Tlosz0JSmp1CYFSgyXxsjgBuxwTN3qU=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ri9ek-0000r5-6H for ding@gnus.org; Thu, 07 Mar 2024 10:03:19 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1ri9ej-00059l-Pd for ding@gnus.org; Thu, 07 Mar 2024 10:03:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric S Fraga Subject: Re: Advanced Scoring Syntax with "To" and "Cc" Headers Date: Thu, 07 Mar 2024 09:03:07 +0000 Organization: On the Interweb somewhere Message-ID: <87h6himn1w.fsf@ucl.ac.uk> References: <39907.3355061532$1709779878@news.gmane.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: gnus (Emacs 30.0.50) Cancel-Lock: sha1:y1450tsxzuyuyxiOqo5FCXxXhzE= X-Url: http://twitter.com/ericsfraga/ List-ID: Precedence: bulk On Wednesday, 6 Mar 2024 at 20:48, Husain Alshehhi wrote: > From the documentation[1], one can configure complex rules through and, > or, not operators. The documentation also states that match operators > are "header name strings followed by a match and a match type". The > documentation also provides examples[2]. My understanding is that the matches that look like this: > ("from" "example@domain.com") should have the second argument be a list, so something like > ("from" ("example@domain.com")) might do the job? I've never used the logical operators you are trying to use however. -- Eric S Fraga via gnus (Emacs 30.0.50 2024-02-28) on Debian 12.2