Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* expiry levels
@ 2005-02-22 19:59 David Breton
  0 siblings, 0 replies; only message in thread
From: David Breton @ 2005-02-22 19:59 UTC (permalink / raw)


Hi

I like to expire my incoming mail to a folder that contains a
formatted time.  I use the following

;; Archiving received mail
(setq nnmail-expiry-target 'nnmail-fancy-expiry-target
      nnmail-fancy-expiry-targets
      '(
        ("from" ".*" "nnfolder+archive:archived-mail-%Y-%m")))


the problem is that after a few months, I've got more of those
archived-mail-YYYY-MM folders than I care about.  So I would like to
have a second level of expiry.  Say all mail sent to archive-YYYY-MM
gets sent to archive-YYYY after 3 months.  The idea is to have a
separate folder for the last three months an after that everything
that survived gets sent to the 'year' archive.  Can someone give me
some pointers.

Thanks

-- 
David Breton

Quick brown fox, jump over the lazy dogs.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-22 19:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-22 19:59 expiry levels David Breton

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).