From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40779 Path: main.gmane.org!not-for-mail From: Nevin Kapur Newsgroups: gmane.emacs.gnus.general Subject: Re: archiving old mail Date: Sat, 08 Dec 2001 11:49:08 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176276 2697 80.91.224.250 (21 Oct 2002 04:57:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:57:56 +0000 (UTC) Return-Path: Original-Received: (qmail 830 invoked from network); 8 Dec 2001 16:49:49 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 8 Dec 2001 16:49:49 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16CkfE-0008Af-00; Sat, 08 Dec 2001 10:49:24 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 08 Dec 2001 10:49:12 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA20351 for ; Sat, 8 Dec 2001 10:49:01 -0600 (CST) Original-Received: (qmail 804 invoked by alias); 8 Dec 2001 16:49:09 -0000 Original-Received: (qmail 799 invoked from network); 8 Dec 2001 16:49:09 -0000 Original-Received: from fermat.mts.jhu.edu (128.220.17.18) by gnus.org with SMTP; 8 Dec 2001 16:49:09 -0000 Original-Received: (from nevin@localhost) by fermat.mts.jhu.edu (8.11.6/8.11.6) id fB8Gn8d15271; Sat, 8 Dec 2001 11:49:08 -0500 X-Authentication-Warning: fermat.mts.jhu.edu: nevin set sender to nevin@jhu.edu using -f Original-To: Ding X-Face: H~?ZI_L2!bGIrH^iC0e8t85[S`lwpP_/-sOvkGnN[\)[S";}xM3[Ib!ljz-80yK9SIf9sz6/DcY?yKUq1=-&XdrLjA^wK1 In-Reply-To: (Nicolas Kowalski's message of "Fri, 07 Dec 2001 16:43:47 +0100") Mail-Copies-To: never Original-Lines: 23 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Civil Service, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40779 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40779 Nicolas Kowalski writes: > What I do now to achieve this is : > > - Enter the group `mygroup' I want to archive, > - select messages I sent/received during the MM month, > - move them to a nnfolder group `mygroup.YYYY.MM' > > > As I have a number of groups, I would like to automate this. I just submitted a patch that will allow you to say (expiry-target . nnmail-fancy-expiry-target) (nnmail-fancy-expiry-targets '(("from" ".*" "nnfolder:mygroup" "%Y-%b"))) in the group's parameter and the right thing would happen. Using the gnus-parameters variable you can probably automate it for all your groups. -- Nevin