From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40767 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: archiving old mail Date: Fri, 07 Dec 2001 17:42:29 +0100 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 1035176267 2648 80.91.224.250 (21 Oct 2002 04:57:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:57:47 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 16341 invoked from network); 7 Dec 2001 16:46:36 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 7 Dec 2001 16:46:36 -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 16CO70-00054o-00; Fri, 07 Dec 2001 10:44:34 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 07 Dec 2001 10:44:20 -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 KAA15618 for ; Fri, 7 Dec 2001 10:44:09 -0600 (CST) Original-Received: (qmail 16276 invoked by alias); 7 Dec 2001 16:44:17 -0000 Original-Received: (qmail 16271 invoked from network); 7 Dec 2001 16:44:16 -0000 Original-Received: from unknown (HELO dolk.extundo.com) (195.42.214.242) by gnus.org with SMTP; 7 Dec 2001 16:44:16 -0000 Original-Received: from dhcp128.extundo.com (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.1/8.12.1) with ESMTP id fB7GhasX030636; Fri, 7 Dec 2001 17:43:36 +0100 Original-To: Karl Kleinpaste In-Reply-To: (Karl Kleinpaste's message of "Fri, 07 Dec 2001 10:51:21 -0500") Mail-Copies-To: nobody Original-Lines: 22 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40767 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40767 Karl Kleinpaste writes: > Nicolas Kowalski writes: >> Is there a way to make Gnus move the old (say, 30 days old) mail I >> sent or received to some archive groups with the year+month digits >> appended ? > > Group properties will do most of this for you. I do this kind of > expiry for quite a few groups. nnml is my gnus-select-method (nntp is > secondary) and I expire my group "personal.general" to its archive > companion this way: > > ((total-expire . t) > (expiry-wait . 30) > (expiry-target . "archive.current.personal.general")) > > expiry-target is new in Oort. Your challenge is to find a way to make > the value of expiry-target into an eval -- I don't know if that's > possible or not in the current scheme. `expiry-target' can be a function, it will be called narrowed to the message in question.