From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17907 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.user Subject: Re: gnus INBOX housekeeping, kept (copies of) mail lying around Date: Thu, 07 Jan 2016 16:54:16 +0800 Message-ID: <87fuy9n51j.fsf@ericabrahamsen.net> References: <87r3hw70ee.fsf@hillenius.net> <878u446w17.fsf@hillenius.net> <874mes6uou.fsf@hillenius.net> <87mvsk5cxu.fsf@hillenius.net> <87egdw5bgj.fsf@hillenius.net> <87mvshdf2o.fsf@hillenius.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1452156891 14568 80.91.229.3 (7 Jan 2016 08:54:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jan 2016 08:54:51 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Jan 07 09:54:39 2016 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aH6L8-0006Mv-RC for gegu-info-gnus-english@m.gmane.org; Thu, 07 Jan 2016 09:54:38 +0100 Original-Received: from localhost ([::1]:57576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH6L8-0008Pz-DV for gegu-info-gnus-english@m.gmane.org; Thu, 07 Jan 2016 03:54:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH6L5-0008Pi-Km for info-gnus-english@gnu.org; Thu, 07 Jan 2016 03:54:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aH6L2-0005nG-Ei for info-gnus-english@gnu.org; Thu, 07 Jan 2016 03:54:35 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:49465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH6L2-0005mt-8E for info-gnus-english@gnu.org; Thu, 07 Jan 2016 03:54:32 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aH6Kt-0006Bm-Tf for info-gnus-english@gnu.org; Thu, 07 Jan 2016 09:54:23 +0100 Original-Received: from 111.199.224.8 ([111.199.224.8]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jan 2016 09:54:23 +0100 Original-Received: from eric by 111.199.224.8 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jan 2016 09:54:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 58 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 111.199.224.8 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:rMVhKtrXpd0/x7WQuiAZxmTVNBo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 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+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17907 Archived-At: Gijs Hillenius writes: > On 5 Jan 2016, Eric Abrahamsen wrote: > > > [...] > > Earlier I reported: > >>>>>>>>> Doing some Gnus imap folders housekeeping this morning, I found >>>>>>>>> that 8000 messages (called 131940. 131941. etcetera) /hiding/ >>>>>>>>> in the imap's INBOX. It looks like these are all emails that >>>>>>>>> I've 'deleted' in Gnus, so they don't show. But for some reason >>>>>>>>> they're not actually deleted. > > [...] > > Which I was told could have something to do with > >>>>>> (nnimap-inbox "INBOX") >>>>>> (nnimap-split-methods nnmail-split-fancy) >>>>>> (nnimap-unsplittable-articles >>>>>> '(%Deleted)) > > [...] > >>>>> This will be the problem. The normal value of that var is (%Deleted >>>>> %Seen). Removing %Seen means that all messages in your Inbox will >>>>> continue being split every time you check for new mail, even though >>>>> you've already seen them, and they're already in the Inbox. >>>>> >>>>> Essentially that means that all messages are copied from the Inbox >>>>> back into the Inbox each time you check mail. >>>>> >>>>> I pushed a change to nnimap.el some time ago that prevents the >>>>> splitting process from splitting mail into the group it's already >>>>> in, but you probably don't have that change in your version of >>>>> Gnus. > > And now I wonder: > > If my Gnus (5.13, part of Debian's Emacs) copies messages back into the > INBOX, does fancy-split set the delete/expunge IMAP flag to these? > > Because, if it does not flag them for deletion, would that perhaps > explain why the nightly Cyrus pruning does not do anything? Cyrus is set > to remove from disk all messages that have been flagged for deletion for > 3 days. No, no flags are set. From IMAP's point of view, splitting is simply a MOVE operation. Sorry, I misspoke earlier when I said the messages were *copied* back into the same group. They're actually MOVEd. That means there's only ever one copy of the message, but it gets a new UUID number each time. No new flags are set at all. E