From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10243 invoked from network); 26 Nov 2022 22:30:26 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 26 Nov 2022 22:30:26 -0000 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oz3gB-0003Xo-EO; Sat, 26 Nov 2022 17:29:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oz3OM-0000tq-PV for info-gnus-english@gnu.org; Sat, 26 Nov 2022 17:11:23 -0500 Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oz3OK-000315-Ib for info-gnus-english@gnu.org; Sat, 26 Nov 2022 17:11:22 -0500 Received: by mail-oi1-x22c.google.com with SMTP id s206so7926516oie.3 for ; Sat, 26 Nov 2022 14:11:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=academico.ifpb.edu.br; s=google; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=dQWCsh42nRi14ttYOfPswAaWZQWCaoHn6hpfemX946A=; b=g79+UB6NoR3Zbj2XUdCJnxHNp2KzV0+3Kg7Y8bViBXBdQKNCknp04krqVCjeeh9HoB GS3qaxf/bUD27jq0PV61ugYfiJT+zkqwgoPajKh0x/TpSZcmRdvb1qmFeRUgkQCXpWx3 0l3mdJJ3or485iRIT+DB3pZFJt4JaLkYisyNpdI6S/Y98WeWX+9DFsh6n55eCvGERPJi yHLyWEv0hf00ySybwONLoW54MK5cLp+BiC6UIsl8AuCk3+oS5iD5pxWWTE7hxD5VY5ST u0QeTuF1vlPZFmWWSPoxiKzzRCvZLYOTm8a86RtFn1RMfjWIJu5gmDwnI407F2pmcpLF mAnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dQWCsh42nRi14ttYOfPswAaWZQWCaoHn6hpfemX946A=; b=vogsASy3gIXBcGBowOrmCc+xdoBOHhU2VrndZIO61OAonSlHh5fPtMKi079z+iRt9A BPxirWxtk9Agldw/lMVZOAdT2JEMAYjcMk6VF0Z6Fk02qP8s5oNteDrmyv6xmbLI+eP7 VeMUW001xBXHW7f34yKaHkrphi2JDz/aCIUMIepqSp2g1tKmmgN6/MEMgSNZ9dmMzB3y z2Cn3hEqtU8uAKfEMXeL2mHT2TWNT3BQ4+m7ga6aWkuOlxAyA+2ya0wLKm6TJnMZ+UZo y4wewS3VTRKJ25X+tRK5Z87OVRM6K5FvUujem2z1dcJ3IH+GsF4d5wXOem/yXDus1gjk tZUw== X-Gm-Message-State: ANoB5pm9SrbHe+RHnc/px6awd9xoPui7OkoPOsn19FMkjPUM7UhLjMNI DhxW8J2jtTs9h/82P+7hHFDDh3NpQdDIZQ== X-Google-Smtp-Source: AA0mqf5rKEx2p/CJZY4X+82Aa8q7rEbq2zi/8yHXDrpydfYon12jnNHZUTVJdgoF9XRcvRoNxzoyfg== X-Received: by 2002:a05:6808:13c8:b0:359:fab2:fe36 with SMTP id d8-20020a05680813c800b00359fab2fe36mr24169951oiw.6.1669500675920; Sat, 26 Nov 2022 14:11:15 -0800 (PST) Received: from sekai ([2804:14c:da80:8cd9::330d]) by smtp.gmail.com with ESMTPSA id r7-20020a056830418700b0066de29c6ac6sm3103741otu.4.2022.11.26.14.11.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Nov 2022 14:11:15 -0800 (PST) From: Fernando de Morais X-Google-Original-From: Fernando de Morais To: info-gnus-english@gnu.org Subject: Help needed: nnmaildir and expire-group parameter. Date: Sat, 26 Nov 2022 19:11:06 -0300 Message-ID: <87bkotz7r9.fsf@sekai.mail-host-address-is-not-set> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::22c; envelope-from=fernando.morais@academico.ifpb.edu.br; helo=mail-oi1-x22c.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 26 Nov 2022 17:29:44 -0500 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org 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.