From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67136 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap two-level expiry? Date: Sat, 05 Jul 2008 19:53:54 -0400 Message-ID: References: <87r6a8qbaw.fsf@mcbain.luannocracy.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215302130 29162 80.91.229.12 (5 Jul 2008 23:55:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2008 23:55:30 +0000 (UTC) Cc: David Abrahams To: ding@gnus.org Original-X-From: ding-owner+M15596@lists.math.uh.edu Sun Jul 06 01:56:16 2008 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.50) id 1KFHbs-0004pA-8R for ding-account@gmane.org; Sun, 06 Jul 2008 01:56:08 +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 1KFHaU-0008Bh-29; Sat, 05 Jul 2008 18:54:42 -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 1KFHaS-0008BS-Bl for ding@lists.math.uh.edu; Sat, 05 Jul 2008 18:54:40 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1KFHaM-0002iU-B8 for ding@lists.math.uh.edu; Sat, 05 Jul 2008 18:54:40 -0500 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KFHag-0004Kx-00 for ; Sun, 06 Jul 2008 01:54:54 +0200 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 56F07401A7; Sat, 5 Jul 2008 23:54:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1215302070; bh=suwo4x+5anb5dhl51hoCGdlzVttmEbjoUWVV08oZX hc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Y0sJ4b5kb+4wJHL4CNRPbbZ2ts2bVM7qEs3d5 NHVf+VELFqEA8IxZ9M2NGHAu1rbEN7FKXC7FSvhibbuzcmy4iKV5+2hnq48OD/5dkN/ i5GDNP5T4dtnltXhxqNnEL6gsrlLwIcuZXRtllPM1bbTNqSe39aNPfBbABUP1QVRuhY = Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id 9FA31210687; Sat, 5 Jul 2008 23:54:18 +0000 (UTC) In-Reply-To: <87r6a8qbaw.fsf@mcbain.luannocracy.com> (David Abrahams's message of "Sat, 05 Jul 2008 17:19:03 -0400") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2008 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 25 X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67136 Archived-At: >>>>> "David" == David Abrahams writes: David> I'd like expiry to do something like: David> * mark all read articles as deleted David> * actually remove all deleted articles over one week old The IMAP EXPUNGE command does not take arguments, so you can't expunge a subset of the artices which are marked deleted without doing: 1) undelete those which are too young to expunge 2) expunge 3) re-delete those in step one. If you only use gnus to access the imap server you can let gnus mark read articles as expirable (eg with gnus-auto-expirable-newsgroups) and it will mark deleted only those expirable articles older than nnmail-expiry-wait days. If you also have nnimap-expunge-on-close set to always EXPUNGE will be called each time you exit the Summary buffer. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6