Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: automatically set expiry mark
Date: Wed, 21 Dec 2011 19:20:26 +0100	[thread overview]
Message-ID: <87mxaliy6t.fsf@dod.no> (raw)
In-Reply-To: <4pehvyavbt.fsf@mspb.ms.gov>

>>>>> Carson Chittom <carson.chittom@mspb.ms.gov>:

> In my ~/.gnus.el, I've got 

> ;; Make expired messages go to Archive folder
> (setq nnmail-expiry-target "nnimap+MSPB:Archive")

> so I just manually mark older messages as expired.

> What I'd like to do is automatically mark read messages in my Inbox as
> expired, so I don't periodically have to go through and mark, say, a
> hundred of them manually.  Is this possible? 

Yep.

> I looked in the manual at what seemed likely in the index, but nothing
> popped out at me.

total-expire is what you're looking for.

Here's what I've got in the group parameters of my inbox:
 (total-expire . t)
 (expiry-target . "nnimap+myserver:INBOX.archive")

Note: I haven't set expiry-target globally, because it seems like a
      group-specific property...




      parent reply	other threads:[~2011-12-21 18:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 13:49 Carson Chittom
2011-12-21 17:27 ` Eric S Fraga
2011-12-21 18:29   ` Steinar Bang
2011-12-22 14:05   ` Carson Chittom
2011-12-22 14:22     ` Steinar Bang
2011-12-21 18:20 ` Steinar Bang [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=87mxaliy6t.fsf@dod.no \
    --to=sb@dod.no \
    --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).