From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: phillip.lord@russet.org.uk Newsgroups: gmane.emacs.help Subject: Re: nnimap splitting Date: Fri, 11 Dec 2020 21:37:43 +0000 Message-ID: References: <878sa6ehbn.fsf@russet.org.uk> <87v9dawogx.fsf@ericabrahamsen.net> <877dpq6jp2.fsf@russet.org.uk> <1d30cad3346c3d955911198146a18148@russet.org.uk> <9014e1d022c223fb63f7d503f8b298ec@russet.org.uk> <867dpoa5ud.fsf@x201.butler.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1124"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail/1.4.8 Cc: help-gnu-emacs@gnu.org To: Leo Butler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 11 22:43:43 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1knqCV-0000Be-BN for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 22:43:43 +0100 Original-Received: from localhost ([::1]:52628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knqCU-0002TD-Ei for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 16:43:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knq7V-0001Jq-Lh for help-gnu-emacs@gnu.org; Fri, 11 Dec 2020 16:38:35 -0500 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:33616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knq7R-0005lg-ER for help-gnu-emacs@gnu.org; Fri, 11 Dec 2020 16:38:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender :Reply-To: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=V+nK919z2QFuiggqqVp1kYVLxSR4iVvfY1gAoShMFO0=; b=0nffHjnoU7vExXpTnfxqpYnDa7 rKxcP6eDsyGHmUyg7YJW8MkVBciR6SMOA6Rvkjnua/iaPqCm+v/ajbzgZtJDjDINMLCZo8rv1duVh GJ4xhZ/Dn2XXgRjY2lLGOYmD/aguPt2bQfHjF3Ec/pS0Y8RL2S5jowjTJhCfL4LFvpGwp7YCyt3ph uQcKZ8d6KPsC1vgxvFGDf5ji3jnf1QX9GTIhxhrKfC4U6z2XpzDGtKFR4bPkoyWD8UTssNxIbcWJP R0jVWXpihCdSjqw7sZBaLEpMg64j3P3X2DjhD8AI/KeNtfLuuLmmzV5QmnPpOA/8IS1fDHk6rENFl pvH0o4Dg==; Original-Received: from [::1] (port=46380 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.93) (envelope-from ) id 1knq6h-0006ei-S4; Fri, 11 Dec 2020 21:37:43 +0000 In-Reply-To: <867dpoa5ud.fsf@x201.butler.org> X-Sender: phillip.lord@russet.org.uk X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk Received-SPF: none client-ip=78.129.138.110; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126250 Archived-At: On 2020-12-11 12:24, Leo Butler wrote: > phillip.lord@russet.org.uk writes: >> On 2020-12-10 18:58, phillip.lord@russet.org.uk wrote: >>> On 2020-12-10 18:36, Pankaj Jangid wrote: >>>> Phillip Lord writes: >>>> >>> I think >>> I am looking in the wrong place and my configuration here is not the >>> issue at all. I have no idea, unfortunately, what the issue is. If >>> this is supposed to work in Gnus, I think, it is getting all the >>> server information from somehwere else. NOt sure where! > > C-h v gnus-server-alist RET > > gnus-server-alist is a variable defined in ‘gnus.el’. > Its value is shown below. > > Documentation: > Servers created by Gnus, or via the server buffer. > Servers defined in the user’s config files do not appear here. > This variable is persisted in the user’s .newsrc.eld file. > > Value: > ... > > > You need to edit this variable. > > It's an odd design and I banged my head against this one for years > before I finally figured out why Gnus kept trying to open servers that > I > had deleted from gnus-secondary-select-methods. > Yes, indeed, after extensive debugging, this does indeed appear to be the problem. Gnus seems to be getting the imap address from .newsrc.eld during start up and all rest of the info from .authinfo.gpg, although in this case from gnus-newsrc-alist which is saved in .newsrc.eld. Everything in gnus-secondary-select-methods is thus ignored. I have tried just tried ditching the server variables instead. (setq nnimap-inbox "INBOX" nnimap-split-methods 'nnimap-split-fancy nnimap-split-fancy '(| ("subject" "split-into-temp" "temp-test") "temp-test" )) This sort of works in that "B t" shows that mail messages go to "temp-test" as expected. However, attempting to respool with "B r" fails. Took me a while to debug this and the cause is because despite "B t" saying "temp-test", nnimap actually sends this command: 21:08:18 [localhost] 323 APPEND "mail.misc" {112079} I am guessing that gnus does not like to be configured for both nnmail and nnimap splitting even when operating within a single backend. The solution might be just to start afresh. Hmmm. This is not going smoothly! Phil