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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28136 invoked from network); 30 Nov 2021 16:49:38 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 30 Nov 2021 16:49:38 -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 1ms6Jz-00D6u3-In for ml@inbox.vuxu.org; Tue, 30 Nov 2021 10:49:35 -0600 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94.2) (envelope-from ) id 1ms6Jz-0019cn-1C for ml@inbox.vuxu.org; Tue, 30 Nov 2021 10:49:35 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1mrt9K-0018UY-CM for ding@lists.math.uh.edu; Mon, 29 Nov 2021 20:45:42 -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 1mrt9H-00Cb1u-O7 for ding@lists.math.uh.edu; Mon, 29 Nov 2021 20:45:42 -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: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:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=FxLMOgdjz/JEDqvBj7jfzrbtFnM+UhrRfACWeUF10vo=; b=HvHdNG3L24Vsd+wV0Gzx1wSjzR fIq7tobjejzR9ARVSL6L2mJsbD8CGROBo0YeuLATFc0JQs4KPtUDP8McDluKycWbKcdnMcz3iC891 Fy1NwhCchE0deq1UahT8AtUxyhPYApxIuVTvQr9qNv/ZBnqyb58y5oh2zKpGJYnqSzhg=; 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 1mrt9A-0002JO-2c for ding@gnus.org; Tue, 30 Nov 2021 03:45:34 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mrt97-0006sy-6P for ding@gnus.org; Tue, 30 Nov 2021 03:45:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: hput Subject: make gnus split only /var/spool/mail/USER Date: Mon, 29 Nov 2021 21:45:11 -0500 Organization: Still searching... Message-ID: <87mtlms6o8.fsf@local.lan> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:5O+Wr7v6y1HILBfGz6xbyXAehs4= List-ID: Precedence: bulk This is being resent... the previous attempt with headers as below seems not to have reached the group. ,---- | From: hput | Subject: make gnus split only /var/spool/mail/USER | Newsgroups: gmane.emacs.gnus.general | Date: Sun, 21 Nov 2021 11:09:48 -0500 (1 week, 1 day, 10 hours ago) | Message-ID: <8735nplcc3.fsf@local.lan> `---- So a second attempt below: First, sorry to blabber and wonder as below but finding it difficult to say what I'm after briefly. I've been using the following `sources' setup to have gnus deliver mail from /var/spool/mail/USER and procmail created mbox style mail /spool/in/ ... mbox style groups with *.in suffix (setq mail-sources '((file :path "/var/spool/mail/reader") (directory :path "/spool/in/" :suffix ".in"))) So procmail does the heavy work and gnus only delivers *.in mboxes to similarly named nnml groups. All good so far. I'd like to have gnus split `file :path "/var/spool/mail/USER"' but continue delivering the `name.in' mboxes as it now does. I haven't been able to google up an example of such a thing. I'm guessing it would be something like: (setq mail-sources '((file :path "/var/spool/mail/USER")) SPLITTING code here .. connected to only `this mail-sources') Using larsi's example here but don't know how to connect it only to the mail-souces above : (setq nnmail-split-methods '(("mail.cron" "^From:.*Cron Daemon") ("mail.NOTcron" ""))) But cut down for my use and connected to above `mail-sources'. Or something like that. . . . . ------- ------- ---=--- ------- ------- How to connect `mail-sources' and `nnmail-split-methods' above But still have the delivery code below not be run thru splitting. (setq mail-sources '((directory :path "/spool/in/" :suffix ".in"))) NO SPLITTING HERE