From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leo Butler Newsgroups: gmane.emacs.help Subject: Re: nnimap splitting Date: Fri, 11 Dec 2020 16:04:37 -0600 Message-ID: <86h7os80ei.fsf@x201.butler.org> 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 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32067"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: phillip.lord@russet.org.uk Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 11 23:07:32 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 1knqZX-0008E9-PE for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 23:07:31 +0100 Original-Received: from localhost ([::1]:36562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knqZV-0001Fj-PO for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 17:07:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knqWs-0001Ej-8i for help-gnu-emacs@gnu.org; Fri, 11 Dec 2020 17:04:46 -0500 Original-Received: from mail-eopbgr660111.outbound.protection.outlook.com ([40.107.66.111]:6335 helo=CAN01-QB1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knqWp-0005j7-Mp for help-gnu-emacs@gnu.org; Fri, 11 Dec 2020 17:04:45 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E3FH0B+80UDr74XzliYbfmb6yu2Vgtu73Za77UjQtqT7Bpn+BM6TpGeBDgGuXUB5AitRUg5GMlL50PWyk7H+S8VhZFL1KoOi4P+wGWbX3AcLx0JjpuhXld3JCmVegjEqdwZ4CKykDluAsc0XGy+HiUX1Ng1mLzSZRHiKxreMStwjVzk/kX8Q836CRhX3Yx3ZDKdvVPgDNoNBGniPcsiS2QhD1atjuc42DXPiFAqfgl5k8arE9tfhr0asDYvczyrCE91wzVpM6U0w8UMmm6K6nWmbjnUw4x8oMlScJxT/DlhZfscvgJb9bSNmmWXmZIVmonwppbTAMcJSKxlerxgCIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HECEcP22vR+JCkfkdQ/3+5u1aZN1Mq8XVof8iQ8K9ts=; b=GxJ5BoDDv07dcIXhJqOeYNWxrw27lwOSu3AmMNkUaV0ZzKoCZhrjQssFE4me7sovlshL6TOMVBqiEqd+5bOi9Cu/FgR8146hEUoARVdzbEbHpjYVH+ENPkw9LCGEqAlMMDoPKwrQXucCGt+ZvcirOceSZr2jVzTLqsTpLoIC1Sxcay5/ZAEXwHXHzbY6+tZmUK9PGeksfOw2+DmOBGGGLZ5/v1ocBKubr7SBkZaYO3QoLnVl7jz8krSnee6wttXnin/vRx5R07fAihyG4vmDCYCYXz0YscSdo39apiwAVpDM5XjWP8i2pSlxfBdmpAX0EXQrzGt1C0IjojTIKK5nSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=umanitoba.ca; dmarc=pass action=none header.from=umanitoba.ca; dkim=pass header.d=umanitoba.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umanitoba.onmicrosoft.com; s=selector2-umanitoba-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HECEcP22vR+JCkfkdQ/3+5u1aZN1Mq8XVof8iQ8K9ts=; b=Gi5yfCNMsY6doYBE1si6tkdvYoKC0hFhUPiTMCHckmgdUnkqCUe5lEzzuDJCgfrUnxfg8Uj9mTPfK3kTlQiTZNu9VokajZ7zW+I7gee+RJ2GxBhSaV7uZYKAkNzI7CTo/fQFoP96/6g/c+H14X/Jy65U8iT2MIKDcrf+fV5diTM= Authentication-Results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=umanitoba.ca; Original-Received: from YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:21::31) by YT1PR01MB3513.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.14; Fri, 11 Dec 2020 22:04:41 +0000 Original-Received: from YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM ([fe80::8183:4179:bf81:a8fa]) by YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM ([fe80::8183:4179:bf81:a8fa%6]) with mapi id 15.20.3632.027; Fri, 11 Dec 2020 22:04:41 +0000 In-Reply-To: (phillip lord's message of "Fri, 11 Dec 2020 21:37:43 +0000") X-Originating-IP: [45.44.33.194] X-ClientProxiedBy: MW3PR06CA0025.namprd06.prod.outlook.com (2603:10b6:303:2a::30) To YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:21::31) X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from x201 (45.44.33.194) by MW3PR06CA0025.namprd06.prod.outlook.com (2603:10b6:303:2a::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21 via Frontend Transport; Fri, 11 Dec 2020 22:04:40 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1a7c7fa2-2514-4ce3-a9f5-08d89e20c263 X-MS-TrafficTypeDiagnostic: YT1PR01MB3513: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wKtQsMKcide7O9kyyO4JYfYsSCwCxu8kUNu58FFLM2Wb5Br32nDcuQjTC2YaEFTKJkQUVKfq9GODIrAf45pq4tjiQOmh8o5I8LA5w+QIyWPu9hxjtbsZRJ3pRAtSAVaQi3AsJzB28D1aqOlxiBGB1TMJBuDyK5tkbcQWf/cio9PqQeO/aH7Xn0/TplAPRmR0HtwK6tdNEwlMqBGkblUSrZX270mWllAEBYdjYEomnBIgpg5OloTjYJQvwuYbVY/6DqvgIWthki7QgkCZaqR4FgBrtu/yGCFQJ2c63KEZCCdUMv1q25xjQXjmclzbxckxrbJXq4sgps50V85CN/ovSA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(366004)(376002)(346002)(136003)(5660300002)(53546011)(186003)(6666004)(16526019)(786003)(6916009)(4326008)(66556008)(2906002)(6486002)(3480700007)(26005)(6496006)(508600001)(66476007)(7116003)(8676002)(956004)(44832011)(83380400001)(86362001)(4001150100001)(52116002)(9686003)(66946007)(8936002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?UWhOQjRuemNRTE9meVNBUFNkOFBCaGVNM3RpM3NSRnhXeUxZblVWa1hZeDhk?= =?utf-8?B?M3hJU2JNUWY1YitlekdyZXZpUkVkK1ZWcGxFZjFLTUdaRFhoeFVlOHRXa2hU?= =?utf-8?B?ZTUwSGZoQjd2NjNCZTRWWjBKTFEwdXplWVZaYmxqZWdLR0JEN2p6VXJoNFRk?= =?utf-8?B?bTFrd3RZVForNkZtK0IzUHZpdEhsK2xmeGR6ZHJTT2hsOXY3bVVKQ1FVenZP?= =?utf-8?B?bWw5NjFCSHRsMnJMOTB5d2VxWVRyVk5NOWNOVEMxbzZ1ZDQ1TGtkQ1NQMTNk?= =?utf-8?B?Z0x2b2F1SkZVYk9adTh5VVdDSUZYSk5zNzlkUzBENzRhMDZxWVlWQk1PZnVp?= =?utf-8?B?aUNPMHN4Y09SWi95NnZ4UHFJSVNvaTNVVmNkdnAvSWZYbnMzZXgvVjV5bTNM?= =?utf-8?B?MFlGd3NOMUc2MitOQ1pUbVcwN0svOXkwV1gxcUo2QlA2ZnVJTDhEUkJLN01x?= =?utf-8?B?eVpJV1JpN3JzUnpmYllVYzVtWFYzeVBoZFhHTmhYUUFqYUhIYUpqdzdXOSs5?= =?utf-8?B?bkdFd2FzbVNxdHZQNEM2cDFuMXRydkU5QThGMjhJMGxnSUREcytVSnpoeFVG?= =?utf-8?B?aHFyREFvZW8vRkhMTDRJaFV2NUJVWEcxc3preEdFdjdmWTFPR2w5RVFHYVNW?= =?utf-8?B?Z1JMV3BxQnZ6MzE3c3B2THF1Ti96Q3d3bFRPRmZp X-OriginatorOrg: umanitoba.ca X-MS-Exchange-CrossTenant-AuthSource: YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2020 22:04:40.9599 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4f80dd0b-338c-4e4c-8a14-90446962f7b8 X-MS-Exchange-CrossTenant-Network-Message-Id: 1a7c7fa2-2514-4ce3-a9f5-08d89e20c263 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: h0F4lhRyeAShQirinv/XmRniTFPghpFZtjSHFdxufKqDNsAlRkSgLuK4qQJ/MITo45RuLci8pK+U4Os16updIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT1PR01MB3513 Received-SPF: pass client-ip=40.107.66.111; envelope-from=Leo.Butler@umanitoba.ca; helo=CAN01-QB1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-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:126253 Archived-At: phillip.lord@russet.org.uk writes: > ******************************************************** > Caution: This message was sent from outside the University of Manitoba. > ******************************************************** > > 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: >>>>>=20 >>>> 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 =E2=80=98gnus.el=E2=80=99. >> Its value is shown below. >> Documentation: >> Servers created by Gnus, or via the server buffer. >> Servers defined in the user=E2=80=99s config files do not appear here. >> This variable is persisted in the user=E2=80=99s .newsrc.eld file. >> Value: >> ... >>=20 >> 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. >>=20 > > > > 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! Ahhh, you have found the downside to Gnus. Gnus stores so much state that it is hard/nearly impossible to re-configure. For example, my .newsrc.eld is a monster that is impossible to load into an emacs buffer to edit or inspect. So I found out about gnus-server-alist by using the debugger while trying to edit (or delete, can't recall) a server in the *Server* buffer. What I would do (I am on linux), is create a fresh user account with a clean home directory and build a working .gnus configuration tailored to my wants. That way, you maintain a working Gnus for your main account and can fiddle with your toy account without fear. It's not a pretty solution, but it will avoid the heart/headache of other options. Leo