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.