Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: info-gnus-english@gnu.org
Subject: Re: GNUS-AGENT-EXPIRE Does Nothing
Date: Tue, 22 Jul 2008 23:10:28 +0200	[thread overview]
Message-ID: <87vdyxmxq3.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <fefe3cb8-a795-468e-9071-76323d5536d2@k13g2000hse.googlegroups.com>

On Thu, Jul 17 2008, Volkan YAZICI wrote:

> [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

Sorry, I don't use the agent and don't know enough about it to help.

>    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, 

See (info "(gnus)Agent Expiry").

> nnmail-expiry-wait, 

See (info "(gnus)Expiring Mail").

> message-expires

,----[ (info "(message)News Headers") ]
| `Expires'
|      This extremely optional header will be inserted according to the
|      `message-expires' variable.  It is highly deprecated and
|      shouldn't be used unless you know what you're doing.
`----

> and nnmail-expiry-wait-function,

See (info "(gnus)Expiring Mail").

> how gnus decides which one to use?

Only nnmail-expiry-wait-function and nnmail-expiry-wait are closely
related.  The others serve a completely different purpose.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  reply	other threads:[~2008-07-22 21:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17  7:37 Volkan YAZICI
2008-07-22 21:10 ` Reiner Steib [this message]
     [not found] <m33ckh5gn4.fsf@wilson.rwth-aachen.de>
     [not found] ` <ufzog2bdm.fsf@xpediantsolutions.com>
2003-04-18 16:15   ` gnus-agent-expire does nothing Torsten Bronger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vdyxmxq3.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).