From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70740 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: That newfangled IMAP thing... Date: Sun, 12 Sep 2010 04:17:13 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87hbi3jasy.fsf@lifelogs.com> <87pqwmsusz.fsf@news.realpath.org> <8762yd6j4j.fsf@rimspace.net> <87eid0fsil.fsf@lifelogs.com> <87bp84y00w.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284257899 1838 80.91.229.12 (12 Sep 2010 02:18:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Sep 2010 02:18:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19113@lists.math.uh.edu Sun Sep 12 04:18:18 2010 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 1Ouc93-0007zN-PM for ding-account@gmane.org; Sun, 12 Sep 2010 04:18:18 +0200 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 1Ouc8I-0003S5-Tr; Sat, 11 Sep 2010 21:17:30 -0500 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 1Ouc8G-0003Rs-3L for ding@lists.math.uh.edu; Sat, 11 Sep 2010 21:17:28 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ouc8B-00082z-6C for ding@lists.math.uh.edu; Sat, 11 Sep 2010 21:17:27 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ouc89-0001g9-00 for ; Sun, 12 Sep 2010 04:17:21 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ouc88-0007in-Mi for ding@gnus.org; Sun, 12 Sep 2010 04:17:20 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Sep 2010 04:17:20 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Sep 2010 04:17:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXHvMPMwcrY0dnAtLrP xc5lW1X+/f7Kv8cbjkXhAAACK0lEQVQ4jXWUQW/bMAyFGbiFryWiQHfVP8CBLOw6ORxy3SAIve/Q s4Qk4N8fKdtJCqxEDo4/vfdIWTZ8flPw6f5bn/A30uBmNxA5smyIaB5s9yLAuUFWNMB9beDcwGBm N89NPzh6ArTelaJIsyPnzrBTQK4RUr+5GZ9BFVw1UTIoArAxAheFlcAoP6OgN3LpYnlpwDQw0VmB yIf4RTE1xT4izZuVZixg7G87lOtyFYBPirEPRwVcG2iK8xRt5yF8NIVaMaMq9tNP6PyYf7P23QBU BZfjfvQ+pVQfiirNx9cgIKeUex2oF1CgRzQCvPdZCowMtIKK+HHLOQhIvm5ApqrWpkNOwaecRjRk G2Do2e7zL3GRhOTtlWxZrdhe8iEvlSTxrYM1wx5CGPcLkcSyAmC+3cJ42gDfQc/hNS/N5szIxfsN dGMQ+zELPnMBP7auioBJgVcQ0ZZuXNutlwbCF9CsLtMhiX9I+U80uGSAdFXfppPH5pVQQOebFdRq p5O0KyBleQS8ZVSzz+n4HrLPH8Ea2sKFyGp610lSQMRHOAow777NYetTVyhW15PvFHBluFsxymM+ 6TYeDVeEu6L0ptRopf8jihXApigg/wmt9z/QyuSw7q7sVrWiYAG1hcOyiTs5QpZ1ZadS3ABUtBTR qMXO3OdAWS4Hi/SGrHkG/QIillGPq1030erbrUdcjqwomrIBrHLcUd8EaoBMXIB+E7Ya6PEt+f7r 8039A9n1DRs2cElqAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Bill Wells, Annie Whitehead, Stefan Schneider, Barbara Morgenstern's _Paper Of Pins_: "Brown Recluse" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:cWgjZduCn08bT68QPWOxebf8nIA= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70740 Archived-At: Lars Magne Ingebrigtsen writes: > It'll triple in size before it's done, but so far, so pleasant. I now have move/copy/accept going, too, so the next thing to handle is probably client-side mail splitting. So I guess you'd have a variable that says which mailbox to use as the source mailbox, which should just default to "INBOX". And then you split according to ... Hm. The old nnimap has its private `nnimap-split-rule'. Is that really necessary? Can't we just use the normal `nnmail-split-methods' and stuff? Why should nnimap be different from all the other mail backends? Anyway, the splitting methodology would be as follows: 1) stream-download all the articles in the INBOX group 2) run the mail split rules over each article 3) notice what new groups should be created, if any, and create them 4) stream out a bunch of "COPY 23242 ding" (etc.) commands, to copy the articles over to the correct groups 5) parse the responses 6) mark all the messages that were successfully copied as deleted (this would normally be all the articles) 7) do an "EXPUNGE" It should be a fairly quick process -- the main time spent should be in the actual streaming download of the articles in 1). -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen