From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Volkan YAZICI Newsgroups: gmane.emacs.devel Subject: GNUS-AGENT-EXPIRE Does Nothing Date: Tue, 22 Jul 2008 10:38:37 +0300 Message-ID: <87zloav05e.fsf@alamut.mobiliz.com.tr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1216712348 32479 80.91.229.12 (22 Jul 2008 07:39:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Jul 2008 07:39:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 22 09:39:57 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KLCTT-0002jP-Sn for ged-emacs-devel@m.gmane.org; Tue, 22 Jul 2008 09:39:56 +0200 Original-Received: from localhost ([127.0.0.1]:36724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLCSa-0001bS-MN for ged-emacs-devel@m.gmane.org; Tue, 22 Jul 2008 03:39:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLCSW-0001bL-Kf for emacs-devel@gnu.org; Tue, 22 Jul 2008 03:38:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLCSU-0001b9-C7 for emacs-devel@gnu.org; Tue, 22 Jul 2008 03:38:55 -0400 Original-Received: from [199.232.76.173] (port=51630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLCSU-0001b6-7G for emacs-devel@gnu.org; Tue, 22 Jul 2008 03:38:54 -0400 Original-Received: from [88.255.235.9] (port=19345 helo=mailserver.ttmail.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLCST-0005ma-Nb for emacs-devel@gnu.org; Tue, 22 Jul 2008 03:38:54 -0400 Original-Received: from SMTP3 ([192.168.19.138]) by mailserver.ttmail.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 22 Jul 2008 10:38:41 +0300 Original-Received: from alamut.mobiliz.com.tr ([213.139.194.86]) by SMTP3 with Microsoft SMTPSVC(6.0.3790.1830); Tue, 22 Jul 2008 10:38:41 +0300 Original-Received: from (unknown [213.139.194.86]) by AVGW-TTMAIL-1.ttmail.com with smtp id 6b3d_32cf257c_57c1_11dd_b39d_00142217b48c; Tue, 22 Jul 2008 10:38:40 +0300 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Report: 1 Rules triggered * 0 -- RV3064 -- BODY: Version number X-OriginalArrivalTime: 22 Jul 2008 07:38:41.0144 (UTC) FILETIME=[F6334F80:01C8EBCD] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101168 Archived-At: --=-=-= Hi, I've been struggling with an article expiration problem since weeks. Neither - emacs-help mailing list, - gnu.emacs.gnus news group, - ding@gnus.org[1] mailing list helped me to solve the problem. I'll be appreciated if anybody can help me with the problem described in the attached post. Regads. [1] ding-request@gnus.org doesn't reply to any subscription request. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline From: Volkan YAZICI To: help-gnu-emacs@gnu.org Subject: Re: GNUS-AGENT-EXPIRE Does Nothing References: <87tzeldiih.fsf@alamut.mobiliz.com.tr> X-Draft-From: ("sent" 663) Date: Mon, 21 Jul 2008 10:40:46 +0300 In-Reply-To: <87tzeldiih.fsf@alamut.mobiliz.com.tr> (Volkan YAZICI's message of "Sat, 19 Jul 2008 18:02:30 +0300") Message-ID: <87fxq31y81.fsf@alamut.mobiliz.com.tr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Lines: 52 Xref: alamut.mobiliz.com.tr sent:669 MIME-Version: 1.0 On Sat, 19 Jul 2008, Volkan YAZICI writes: > Despite below configurations, calling GNUS-AGENT-EXPIRE on an article > from "18 Oct 2007" returns "Expiry recovered 0 NOV entries, deleted 0 > files, and freed 0.000000 B." and obviously no expiration occurs. Any > ideas what I might be missing? > > (defun custom-nnmail-expiry-wait (group) > (cond ((string-match "mail" (gnus-group-topic group)) 90) > (t 30))) > > (setq > gnus-agent-expire-all nil > gnus-agent-expire-days 7 > gnus-agent-expire-unagentized-dirs t > nnmail-expiry-wait 7 > message-expires 7 > nnmail-expiry-wait-function 'custom-nnmail-expiry-wait > gnus-auto-expirable-newsgroups ".*") I tracked down the problem and find out that (file-exists-p (gnus-agent-lib-file "active")) in GNUS-AGENT-EXPIRE-GROUP returns NIL. Where (gnus-agent-lib-file "active") returns "/home/vy/gnus/news/agent/nnml/mailspool/agent.lib/active". I suspect the problem is caused by my non-default gnus directory configuration: (setq gnus-directory "~/gnus/news" nnml-directory "~/gnus/mail" mail-source-directory "~/gnus/mail-source" message-directory "~/gnus/mail") Moreover, $ find ~/gnus -name "active" /home/vy/gnus/mail/active /home/vy/gnus/news/cache/active Does that ring bells for someone? Any ideas how can I fix the problem? Why there doesn't exist such an "active" file? > BTW, among GNUS-AGENT-EXPIRE-DAYS, NNMAIL-EXPIRY-WAIT, MESSAGE-EXPIRES > and NNMAIL-EXPIRY-WAIT-FUNCTION, how gnus decides which one to use? Um... I still need help for those as well. Regards. --=-=-=--