GNUS-AGENT-EXPIRE Does Nothing
  Home FAQ Contact Sign in
gnu.emacs.gnus only
 
Advanced search
POPULAR GROUPS

more...

 Up
GNUS-AGENT-EXPIRE Does Nothing         

Group: gnu.emacs.gnus · Group Profile
Author: Volkan YAZICI
Date: Jul 17, 2008 00:37

Hi,

[I know this question has been raised many times before, but I
couldn't find an appropriate thread fits to my situation. If you knew
one, don't hesistate to bash me.]

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 ".*")

BTW, among gnus-agent-expire-days, nnmail-expiry-wait, message-expires
and nnmail-expiry-wait-function, how gnus decides which one to use?

Regards.
1 Comment
diggit! del.icio.us! reddit!