Gnus development mailing list
 help / color / mirror / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: ding@gnus.org
Cc: David Abrahams <dave@boostpro.com>
Subject: Re: nnimap two-level expiry?
Date: Sat, 05 Jul 2008 19:53:54 -0400	[thread overview]
Message-ID: <m3wsjzubti.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <87r6a8qbaw.fsf@mcbain.luannocracy.com> (David Abrahams's message of "Sat, 05 Jul 2008 17:19:03 -0400")

>>>>> "David" == David Abrahams <dave@boostpro.com> 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 <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



      reply	other threads:[~2008-07-05 23:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-05 21:19 David Abrahams
2008-07-05 23:53 ` James Cloos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3wsjzubti.fsf@lugabout.jhcloos.org \
    --to=cloos@jhcloos.com \
    --cc=dave@boostpro.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).