From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76184 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Poll time: IMAP client-side default match (was: Imap split, does not work (of course)) Date: Mon, 31 Jan 2011 18:16:03 -0800 Organization: Programmerer Ingebrigtsen Message-ID: <87lj20jy8s.fsf_-_@gnus.org> References: <87r5bsleui.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296526617 22825 80.91.229.12 (1 Feb 2011 02:16:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2011 02:16:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24536@lists.math.uh.edu Tue Feb 01 03:16:51 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk5nX-0006nr-8u for ding-account@gmane.org; Tue, 01 Feb 2011 03:16:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pk5nD-0003aL-CY; Mon, 31 Jan 2011 20:16:31 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pk5nC-0003a9-0O for ding@lists.math.uh.edu; Mon, 31 Jan 2011 20:16:30 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pk5n7-0004RJ-Lr for ding@lists.math.uh.edu; Mon, 31 Jan 2011 20:16:29 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pk5n5-0002Ip-Dq for ding@gnus.org; Tue, 01 Feb 2011 03:16:23 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pk5n5-0006cj-9e for ding@gnus.org; Tue, 01 Feb 2011 03:16:23 +0100 Original-Received: from baybryj.net ([198.144.208.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Feb 2011 03:16:23 +0100 Original-Received: from larsi by baybryj.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Feb 2011 03:16:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 39 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: baybryj.net Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:myteusBVE2FfYHEuHaj5nGI/3FE= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76184 Archived-At: Lars Ingebrigtsen writes: > But now I have to ask you: What did you mean to express by saying: > > (nnimap-split-methods > (("INBOX.toto" ""))) Oh, you meant that you wanted all the mail to be moved to INBOX.toto? That's certainly reasonable, and, as you've found out, doesn't work. And it's not documented why it doesn't work, because it not working is experimental, and I forgot about it. The issue is this: When using non-IMAP splitting, Gnus really needs to have a "default split", or a catch-all rule at the end. If it doesn't exist, Gnus makes one. Otherwise Gnus would have nowhere to put the mail it pulls down from, say, POP3, and which matches no (other) rules, and the mail would be lost. On IMAP, on the other hand, Gnus can just leave the mail in INBOX, and no harm would be done. (And I think that's what IMAP users expect.) So the problem is: If you have a split that you're using both for POP3 and IMAP, then POP3 one needs a default split, while the IMAP shouldn't have one. Gnus deals with this by special-casing the IMAP case. It simply ignores "" (catch-all) rules. We could deal with this by: 1) Just document that IMAP client-side splits ignores the catch-all rule. 2) Something else. Ideas are welcome. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen