info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

expiry levels


From: David Breton
Subject: expiry levels
Date: Tue, 22 Feb 2005 11:59:38 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]