From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43584 Path: quimby.gnus.org!not-for-mail From: Sean Rima Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmaildir, expiry problem Date: Thu, 21 Feb 2002 20:25:23 +0000 Organization: TCOB1 The Fidonet Gateway 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 1014324460 28047 195.204.10.66 (21 Feb 2002 20:47:40 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 21 Feb 2002 20:47:40 GMT Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16e07v-0007I5-00; Thu, 21 Feb 2002 21:47:39 +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 16e03v-00045z-00; Thu, 21 Feb 2002 14:43:31 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 21 Feb 2002 14:43:30 -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 OAA28778 for ; Thu, 21 Feb 2002 14:43:17 -0600 (CST) Original-Received: (qmail 8299 invoked by alias); 21 Feb 2002 20:43:13 -0000 Original-Received: (qmail 8294 invoked from network); 21 Feb 2002 20:43:12 -0000 Original-Received: from ingebrigtsen.no (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 21 Feb 2002 20:43:12 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16e04f-0007FX-00 for ; Thu, 21 Feb 2002 21:44:17 +0100 Original-To: ding@gnus.org Original-Path: tcob1.net!not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 51 Original-NNTP-Posting-Host: 194.165.169.223 Original-X-Trace: quimby2.netfonds.no 1014324257 27868 194.165.169.223 (21 Feb 2002 20:44:17 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 21 Feb 2002 20:44:17 GMT X-Face: Tr`5dV#p:=3L$zY|xiI@)Z2Za*_U[B3) User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.0.106 (i586-pc-linux-gnu) Cancel-Lock: sha1:HiCtQKdSRgqo8blunQvqWJX9jiI= Precedence: list X-Majordomo: 1.94.jlt7 Xref: quimby.gnus.org gmane.emacs.gnus.general:43584 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43584 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 21 Feb 2002, Paul Jarc thusly discussed the words of the Internet Oracle: > 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-*. > I will try both yours and Kai's suggestions and see what the outcome is :) Sean - -- ,,, (o o) - -=-=-=-=-=-=-=-=-=-=-=-oOOo-(_)-oOOo-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Normal Email sean AT tcob1 DOT net Offering feeds for Fidonet, Adventurenet, and many other nets See http://www.tcob1.net for more details ICQ: 679813 Linux User: 231986 TCOB1 BBS: 095 43852 Yahoo: tcob_1 Jabber: tcobone@jabber.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Use GPG for Secure Mail iEYEARECAAYFAjx1V7EACgkQeR/L2ZZp3E+UmQCgkZ9Zh3s7+wcWc0qvYaRIHV98 D2oAoL9ZKrPPNnvlyVAVppUR821VRr9A =e5MP -----END PGP SIGNATURE-----