Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: info-gnus-english@gnu.org
Subject: Re: expiry-target group parameter does not have any effect
Date: Mon, 09 Mar 2015 13:39:36 +0100	[thread overview]
Message-ID: <m2y4n6xs3b.fsf@charm-ecran.irisa.fr> (raw)
In-Reply-To: <87zj7pm5u3.fsf@mailbox.org>


[-- Attachment #1.1: Type: text/plain, Size: 1260 bytes --]

On 2015-03-07 11:59, Alexander Baier <alexander.baier@mailbox.org> writes:

> Hello!
>
> I just turned on auto-expire in one of my groups with the group
> parameters configured as follows:
>
> ;;; Editing the group parameters for `nnmaildir+mailbox:INBOX.daily'.
> ((auto-expire . t)
>  (expiry-wait . 14)
>  (expiry-target . "nnmaildir+mailbox:Trash"))

I have something similar here (except that I edit the parameter
programmatically):

#+begin_src emacs-lisp
(setq gnus-parameters
      '(("^old.*"
         (total-expire . t)
         (expiry-wait . 1)
         (expiry-target . "nnimap+zimbra:archive"))
...))
#+end_src

> I expect read articles older than 14 days to be moved to the group
> "nnmaildir+mailbox:Trash".  But this does not happen.  Said articles are
> correctly deleted in their original group, but nothing appears in the
> Trash group.
>
> Did I mess up my configuration?  Is there a way to "track" the expiry
> process, so I can find out, what is going wrong?

You can look in the *Messages* buffer, there should be logs about
expiring. If there isn't, try increasing gnus's verbosity (setting
`gnus-verbose' to 10 for very very verbose, for instance).

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]



  reply	other threads:[~2015-03-09 12:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-07 10:59 Alexander Baier
2015-03-09 12:39 ` Alan Schmitt [this message]
2015-03-16 13:48   ` Alexander Baier
2015-03-16 17:21     ` Alan Schmitt

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=m2y4n6xs3b.fsf@charm-ecran.irisa.fr \
    --to=alan.schmitt@polytechnique.org \
    --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).