From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43580 Path: quimby.gnus.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmaildir, expiry problem Date: Thu, 21 Feb 2002 13:12:08 -0500 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1014315332 21245 195.204.10.66 (21 Feb 2002 18:15:32 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 21 Feb 2002 18:15:32 GMT Cc: ding@gnus.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16dxkh-0005WU-00; Thu, 21 Feb 2002 19:15:31 +0100 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 16dxhk-0003Sk-00; Thu, 21 Feb 2002 12:12:28 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 21 Feb 2002 12:12:27 -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 MAA27911 for ; Thu, 21 Feb 2002 12:12:16 -0600 (CST) Original-Received: (qmail 3784 invoked by alias); 21 Feb 2002 18:12:11 -0000 Original-Received: (qmail 3779 invoked from network); 21 Feb 2002 18:12:11 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (qmailr@129.22.96.25) by gnus.org with SMTP; 21 Feb 2002 18:12:11 -0000 Original-Received: (qmail 28324 invoked by uid 500); 21 Feb 2002 18:12:30 -0000 Original-To: Sean Rima In-Reply-To: (Sean Rima's message of "Wed, 20 Feb 2002 21:54:12 +0000") Mail-Copies-To: nobody Mail-Followup-To: spamtrap@tcob1.net, ding@gnus.org Original-Lines: 28 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/20.7 (i386-redhat-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: quimby.gnus.org gmane.emacs.gnus.general:43580 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43580 Sean Rima wrote: > (setq nnmail-expiry-wait-function ... > What else do I need to do or can you not expire mail whilst using > nnmaildir. You can, but nnmaildir doesn't look at nnmail-* unless you tell it to (via the group parameters that nnmaildir *does* look at). nnmaildir is Different. (add-to-list 'gnus-parameters '("" (expire-age . [(your-expire-age-function)]))) (defun your-expire-age-function () (if nnmail-expiry-wait-function (* 86400 ;; seconds per day (nnmail-expiry-wait-function (gnus-group-real-name gnus-newsgroup-name))) nnmail-expiry-wait)) I'll see how much it would impact the existing nnmaildir code to make this the default when the expire-age parameter is not set, so you could pretend nnmaildir looks directly at nnmail-*. See , which I really ought to add to the Gnus manual soon. paul