From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4571 Path: news.gmane.org!not-for-mail From: David Breton Newsgroups: gmane.emacs.gnus.user Subject: expiry levels Date: Tue, 22 Feb 2005 11:59:38 -0800 Organization: Simon Fraser University Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670455 23820 80.91.229.2 (31 Jan 2006 01:20:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:20:55 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:58 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!peernews.cix.co.uk!lon1-news.nildram.net!205.215.62.125.MISMATCH!in.100proofnews.com!in.100proofnews.com!cyclone.bc.net!news.sfu.ca!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: bart.cs.sfu.ca Original-X-Trace: morgoth.sfu.ca 1109102377 14554 199.60.11.17 (22 Feb 2005 19:59:37 GMT) Original-X-Complaints-To: usenet@morgoth.sfu.ca Original-NNTP-Posting-Date: Tue, 22 Feb 2005 19:59:37 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:ZdcMRojaMHiZUldA412CdJtR8/M= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4712 Original-Lines: 26 X-Gnus-Article-Number: 4712 Tue Jan 17 17:33:58 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4571 Archived-At: 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.