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.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26121 invoked from network); 27 Feb 2022 15:40:25 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 27 Feb 2022 15:40:25 -0000 Received: from localhost ([::1]:35194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOLep-00038C-4r for ml@inbox.vuxu.org; Sun, 27 Feb 2022 10:40:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOLea-000384-DB for info-gnus-english@gnu.org; Sun, 27 Feb 2022 10:40:08 -0500 Received: from ciao.gmane.io ([116.202.254.214]:40494) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOLeY-0007gy-Vp for info-gnus-english@gnu.org; Sun, 27 Feb 2022 10:40:08 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nOLeT-0001x7-SA for info-gnus-english@gnu.org; Sun, 27 Feb 2022 16:40:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: info-gnus-english@gnu.org From: Edouard Debry Subject: Split mail Date: Wed, 23 Feb 2022 23:40:04 +0100 Message-ID: <865yp5nr5n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) Cancel-Lock: sha1:GVXyL9J5jKTjdJoZUfaJj3WIcA0= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gegu-info-gnus-english@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: "info-gnus-english" Hello, I try to split my mail with gnus, without much success at the moment. Here is the relevant configuration section : <========================================================================> (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods '((nntp "gmane" (nntp-address "news.gmane.io")) (nnimap "gmail" (nnimap-inbox "nnimap+gmail:INBOX") (nnimap-address "imap.gmail.com") (nnimap-server-port "imaps") (nnir-search-engine imap) (nnimap-stream ssl) (nnimap-authinfo-file "~/.authinfo.gpg") (nnmail-expiry-target "nnimap+gmail:[Gmail]/Corbeille") (nnmail-expiry-wait 'immediate) (nnimap-split-predicate "UNDELETED") (nnimap-split-fancy '(| (to ".*emacs-orgmode@gnu.org" "orgmode") "nnimap+gmail:INBOX")) (nnimap-split-methods 'nnimap-split-fancy) ))) <========================================================================> As far as I understand, this should create a gnus group "orgmode" in which gnus would move all received mails which Cc to emacs-orgmode@gnu.org, because "to" searches both "To" and "Cc" fields. But nothing so far happens. If I change (nnimap-inbox "nnimap+gmail:INBOX") into (nnimap-inbox "INBOX") and, (nnimap-split-fancy '( (to ".*emacs-orgmode@gnu.org" "orgmode") "nnimap+gmail:INBOX")) into (nnimap-split-fancy '( (to ".*emacs-orgmode@gnu.org" "orgmode") "INBOX")) then, I get the error : Error in ‘nnmail-split-methods’; using ‘bogus’ mail group: (wrong-type-argument arrayp (| (to ".*emacs-orgmode@gnu.org" "nnimap+gmail:orgmode") "INBOX")) [39 times] and a new folder appears on gmail server, named "bogus", with some mails in it but which do not seem to follow the splitting rule. What is wrong with my configuration ? Regards