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=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17425 invoked from network); 16 Nov 2022 04:17:52 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 16 Nov 2022 04:17:52 -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.94.2) (envelope-from ) id 1ov9ry-006XlM-Bh for ml@inbox.vuxu.org; Tue, 15 Nov 2022 22:17:50 -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) (envelope-from ) id 1ov9ry-003S7x-0D for ml@inbox.vuxu.org; Tue, 15 Nov 2022 22:17:50 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1ov9ru-003S7o-0m for ding@lists.math.uh.edu; Tue, 15 Nov 2022 22:17:46 -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.94.2) (envelope-from ) id 1ov9rr-006Xkr-W3 for ding@lists.math.uh.edu; Tue, 15 Nov 2022 22:17:45 -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=yE14fgidXq5JnlNQwPYJdSCZWFAtsdgS6IhmCrbuy/g=; b=WYh0ml4y0009ScG/qNtzsFnu+a 4xxYRom1t6dmSaK7wTgnJZ7tr28VStazNOuSGmNknchf3bMQNqoh9lmjlc++5qRvSGQ/gQ50M+1fh HTutx9/5VbHUaS6cIm6TjgEcdoJfgzhzqPnTPlPbSogtG0ac3xygfLiSNGsapSHGASBI=; 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 1ov9rj-0008Sk-Us for ding@gnus.org; Wed, 16 Nov 2022 05:17:39 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1ov9ri-000ATH-2y for ding@gnus.org; Wed, 16 Nov 2022 05:17:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: TRS-80 Subject: Re: Splitting mail between multiple addresses Date: Tue, 15 Nov 2022 23:17:26 -0500 Message-ID: <87tu2zmt2h.fsf@isnotmyreal.name> References: <87tu352c5w.fsf@isnotmyreal.name> <86tu31dz35.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:xXv/mxijv6XoPzchegaxt8rHD8E= List-ID: Precedence: bulk Greg Farough writes: > On Fri, Nov 11 2022, TRS-80 wrote: > >> Hello list, >> >> I have a couple different email addresses (each as secondary select >> methods), with nntp (Gmane) as primary select method. >> >> I have some rules defined in `nnmail-split-methods', and then under each >> email, I have `nnimap-split-methods' set to 'default'. This seemed to >> be the only way to get it to work. >> >> I would really like to set up splitting rules under each email address, >> that would be specific to mail coming to that address. But I could not >> figure out how to do so. >> >> Any tips would be appreciated. > > I use something like this: > > (nnimap "Email" > > (nnmail-split-methods nnmail-split-fancy) > (nnimap-split-methods nnmail-split-fancy) > (nnmail-split-fancy (| > ("from" "ding@gnus.org" "INBOX.gnus") > ("from" "morgoth@mordorenterprises.org" junk) > ..and so on.. > ))) > > And that works. > > -g If I am understanding you correctly, I should be able to define both `nnmail-split-methods' and `nnimap-split-methods' /per email/? In my case, I am using simple (not fancy) but maybe it doesn't matter. Thanks a lot for the pointer! I'll try it and report back how it goes. Cheers, TRS-80