From: Fernando de Morais <fernando.morais@academico.ifpb.edu.br>
To: info-gnus-english@gnu.org
Subject: Help needed: nnmaildir and expire-group parameter.
Date: Sat, 26 Nov 2022 19:11:06 -0300 [thread overview]
Message-ID: <87bkotz7r9.fsf@sekai.mail-host-address-is-not-set> (raw)
Hello everyone,
According to the manual[1][2], `nnmaildir' uses its own group parameters
to handle expiration.
Excepting `nnmail-expiry-wait(-function)' variables, to handle
expiration per group, the user needs to set values for `expire-age' and
`expire-group' parameters. Ok, so considering the snippet below:
#+begin_src emacs-lisp
(customize-set-variable 'gnus-parameters
'("nnmaildir:inbox"
(expire-age . 0) ; <-- Here
(expire-group . "nnmaildir:trash"))) ; <-- Here
(customize-set-variable 'gnus-secondary-select-methods
'((nntp "news.gwene.org")
(nnmaildir ""
(directory "~/Mail/")
(target-prefix "")
(get-new-mail t))))
(customize-set-variable 'gnus-select-method '(nnnil ""))
(customize-set-variable 'gnus-total-expirable-newsgroups
(regexp-opt '("nnmaildir:trash")))
#+end_src
Unfortunately, the expired mail in `nnmaildir:inbox' does not move to
the `nnmaildir:trash' group, its stays, marked as expirable, in the
original one.
If I drop the `(expire-age . 0)' in favor of something like
`(expiry-wait . immediate)', which according to the manual will be
respected by `nnmaildir', instead of moving the mail to the configured
expiry group, it will delete it.
I tested defining an expiry group from another back end (thus from
another server); from another `nnmaildir' server; and tweaked
`expire-age'. All this through, alternatively, the `gnus-parameters'
variable and from `gnus-group-edit-group-parameters' interface, but
without success.
So, what am I doing wrong? Did I miss something?
Can anyone help me with this configuration? I'll happily share any
further details about my actual settings, if needed.
Thanks in advance.
Footnotes:
[1] (info "(gnus) nnmaildir Group Parameters")
[2] (info "(gnus) Comparing Mail Back Ends")
--
Regards,
Fernando de Morais.
next reply other threads:[~2022-11-26 22:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-26 22:11 Fernando de Morais [this message]
2022-11-29 19:17 ` Eric Abrahamsen
2022-11-29 19:21 ` Emanuel Berg
2022-11-29 21:59 ` Fernando de Morais
2022-11-30 17:16 ` Eric Abrahamsen
2022-11-30 18:19 ` Fernando de Morais
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=87bkotz7r9.fsf@sekai.mail-host-address-is-not-set \
--to=fernando.morais@academico.ifpb.edu.br \
--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).