From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83800 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Expiring gmail messages Date: Tue, 08 Oct 2013 15:33:02 +0800 Message-ID: <87a9ik43pt.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1381217624 19673 80.91.229.3 (8 Oct 2013 07:33:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Oct 2013 07:33:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32056@lists.math.uh.edu Tue Oct 08 09:33:47 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VTRnf-0000kd-0B for ding-account@gmane.org; Tue, 08 Oct 2013 09:33:47 +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 1VTRmO-0003Lu-W9; Tue, 08 Oct 2013 02:32:29 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1VTRmK-0003Lg-Jk for ding@lists.math.uh.edu; Tue, 08 Oct 2013 02:32:24 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1VTRmI-00056z-OY for ding@lists.math.uh.edu; Tue, 08 Oct 2013 02:32:23 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1VTRmG-0001sB-GU for ding@gnus.org; Tue, 08 Oct 2013 09:32:20 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VTRmC-0000GN-7x for ding@gnus.org; Tue, 08 Oct 2013 09:32:16 +0200 Original-Received: from 111.199.226.97 ([111.199.226.97]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Oct 2013 09:32:16 +0200 Original-Received: from eric by 111.199.226.97 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Oct 2013 09:32:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 111.199.226.97 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:rpAsHF5n0gRNHWdmDEfnyLEbfj8= X-Spam-Score: 1.9 (+) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-2350--14852h-0s--0d--H*u:Emacs, 0.000-14--86h-0s--0d--H*u:linux, 0.000-14--86h-0s--0d--H*u:gnu, 0.000-14--86h-0s--0d--H*u:Gnus, 0.000-14--86h-0s--0d--H*UA:gnu Spam tokens: 0.990-11953--689h-60355s--0d--HTo:D*gnus.org, 0.990-12412--730h-62741s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.990-12412--730h-62741s--0d--H*RU:quimby.gnus.org, 0.988-12231--912h-62743s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.988-12231--912h-62743s--0d--H*RT:80.91.231.51 Autolearn status: no 2.8 FSL_HELO_BARE_IP_2 FSL_HELO_BARE_IP_2 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -0.2 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.229.3 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83800 Archived-At: I'm using nnimap through local isync to sync with a gmail account. I use this particular account to send myself notifications from a few websites I run, the vast majority of which are instantly-deletable spam-and-broken-link notifications. I used to use POP and just expire-to-delete the messages as they came in. When I switched to IMAP I forgot to delete those messages off the server before I synced, and ended up with about 250,000 messages I didn't want. Since it's Gmail, my clever solution was to mark all those messages as expirable, then set it up so that the expiration target was "Gmail/[Trash]". That way they were expired to trash, then synced to Trash on the server, then after 30 days Gmail would delete them permanently from the server, and that deletion would get synced back to my local installation. I finally got them all moved into the trash recently, but just now a bunch of the messages in the Trash got "re-expired", I guess right back into the Trash. Now isync wants to sync 50,000 messages with the server, presumably "moving" them from the Trash to the Trash. That will take a week, so I'm asking here. I assumed that the expiration mark was following the messages to the Trash, so that after a period of time they become eligible for "re-expiration". But when I go into the Trash group locally, the messages all seem to have the "O" mark , not "E". I'm not sure that actually means anything, though. The parameters for the Trash group are this: ((modseq . "98032") (uidvalidity . "1371985468") (active 1 . 247068) (permanent-flags %Answered %Flagged %Deleted %Seen %Draft gnus-expire %*)) Is it the "gnus-expire" in there that's causing me problems? I don't really know what that parameter does, specifically, but before I start syncing thousands of messages, I wanted to ask here... Sorry for the long-winded post... Eric