From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17898 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: Tue, 05 Jan 2016 21:24:09 +0800 Message-ID: <87bn90xipy.fsf@ericabrahamsen.net> References: <87r3hw70ee.fsf@hillenius.net> <878u446w17.fsf@hillenius.net> <874mes6uou.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 1452000310 8867 80.91.229.3 (5 Jan 2016 13:25:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2016 13:25:10 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Jan 05 14:25:00 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 1aGRbc-0000KM-JH for gegu-info-gnus-english@m.gmane.org; Tue, 05 Jan 2016 14:24:56 +0100 Original-Received: from localhost ([::1]:49544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGRbc-0007tY-14 for gegu-info-gnus-english@m.gmane.org; Tue, 05 Jan 2016 08:24:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGRbZ-0007tO-NL for info-gnus-english@gnu.org; Tue, 05 Jan 2016 08:24:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGRbV-0008An-Hy for info-gnus-english@gnu.org; Tue, 05 Jan 2016 08:24:53 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:48103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGRbV-0008Ah-BB for info-gnus-english@gnu.org; Tue, 05 Jan 2016 08:24:49 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGRbP-00006g-PW for info-gnus-english@gnu.org; Tue, 05 Jan 2016 14:24:43 +0100 Original-Received: from 111.197.159.241 ([111.197.159.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 14:24:43 +0100 Original-Received: from eric by 111.197.159.241 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 14:24:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 84 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 111.197.159.241 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:j2LGex8Y6dVHFAH1Op0q53J40zQ= 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:17898 Archived-At: Gijs Hillenius writes: > On 5 Jan 2016, Eric Abrahamsen wrote: > >> Gijs Hillenius writes: >> >>> On 5 Jan 2016, Gijs Hillenius wrote: >>> >>>> >>>> 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. >>>> >>>> Is this a setting I messed up? I recall there used to be such a >>>> feature, but I don't remember what that was called. I've been >>>> searching the manual for this, so far without the result I hoped to >>>> find. >>>> >>>> I would appreciate a few hints. >>> >>> encouraged by the two replies... >>> >>> I just sent myself two emails (from a throw-away gmail account), and >>> notice that these messages end up on the system twice. >>> >>> My nnimap-split-fancy places them in the correct nnimap mail group, >>> but a "copy" (or perhaps the original) stays in the INBOX, hidden. >>> >>> Does that ring a bell, with anyone? >> >> Is it a Gmail address? >> >> Not that that immediately solves the problem, but it would be useful >> information. Also, what's your Gnus version? > > The test email came from gmail. My server is for the vanity domain I'm > currently posting with > > Gnus v5.13, in GNU Emacs 24.5.1 (Debian) > > a snippet from my server settings: > > (nnimap-inbox "INBOX") > (nnimap-split-methods nnmail-split-fancy) > (nnimap-unsplittable-articles > '(%Deleted)) > > I wonder about that ^^^ last line, I don't actually recognise it. 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. In the meantime you can fix the problem by setting `nnimap-unsplittable-articles' back to '(%Deleted %Seen). If you leave unread messages in your Inbox for a while, you'll still have a bit of the same problem. But the main issue will be fixed. Try that! Eric > > A summary of my fancy-split (with lots of lines omitted) > > (setq nnimap-split-fancy > '(| > ("From" "googlealerts.*" "INBOX.google-alerts") > (any "c[...]" "INBOX.tmp") > ;; Invoke the BBDB > (: (lambda () > (car (bbdb/gnus-split-method)))) > ;; Default mailbox > ("INBOX" "")))