From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, 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: (qmail 13978 invoked from network); 16 Nov 2023 07:28:13 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 16 Nov 2023 07:28:13 -0000 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.96.2) (envelope-from ) id 1r3VjR-0034aP-1E for ml@inbox.vuxu.org; Thu, 16 Nov 2023 00:20:05 -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.96.2) (envelope-from ) id 1r3VjQ-001Ifn-2u for ml@inbox.vuxu.org; Thu, 16 Nov 2023 00:20:04 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96.2) (envelope-from ) id 1r3VjN-001Ife-2n for ding@lists.math.uh.edu; Thu, 16 Nov 2023 00:20:01 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1r3VjL-0034Zx-0y for ding@lists.math.uh.edu; Thu, 16 Nov 2023 00:20:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WkDXFlb2xD+ff4a5oDlbxLE4/9ItyVq4ziKLJkenVaY=; b=Sd6uAFG8hdIecV3aJyG/Yo/tro GzvzM3bczrArLHzyNEqzr3gYLObjJ/SgzZr1MW4fJmHUW1hW4Y+z1ELc+1lAleTA0l/l7msfx+4qz uiVB7qaLg3lscsBhsso9TYyw3gQie/oP2eslPAEOl+pp7Nac8NXmm9HzEgDODmYBq54I=; Received: from haven.eyrie.org ([166.84.7.159]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r3Vj7-0001ls-T8 for ding@gnus.org; Thu, 16 Nov 2023 07:19:49 +0100 Received: from wanderer.eyrie.org (96-90-234-102-static.hfc.comcastbusiness.net [96.90.234.102]) (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 haven.eyrie.org (Postfix) with ESMTPS id 9543B118178 for ; Wed, 15 Nov 2023 22:19:43 -0800 (PST) Received: by wanderer.eyrie.org (Postfix, from userid 1000) id 72DF82DB2ADA; Wed, 15 Nov 2023 22:19:42 -0800 (PST) From: Russ Allbery To: ding@gnus.org Subject: Re: Multiple Email Addresses in user-mail-address In-Reply-To: <87ttpmv16o.fsf@> (Husain Alshehhi's message of "Wed, 15 Nov 2023 21:15:11 -0600") Organization: The Eyrie References: User-Agent: Gnus/5.13 (Gnus v5.13) Date: Wed, 15 Nov 2023 22:19:42 -0800 Message-ID: <87il628bk1.fsf@hope.eyrie.org> MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk Husain Alshehhi writes: > In the normal case, when I own a single email address, this can be done > by setting user-mail-address. Gnus respects this value and automatically > exclude this address from TO and CC. But I am not sure how to do this > when I own two email addresses. You can set message-dont-reply-to-names to a regex, list of regexes, or a function that matches all of the addresses that you want to exclude. For example: (custom-set-variables '(message-dont-reply-to-names (mapconcat 'regexp-quote '("eagle@eyrie.org" "rra@debian.org") "\\|"))) -- Russ Allbery (eagle@eyrie.org)