From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85815 Path: news.gmane.org!not-for-mail From: Adrian Lanz Newsgroups: gmane.emacs.gnus.general Subject: Re: deleting instead of expiring mail Date: Thu, 26 Feb 2015 17:25:50 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424968040 2465 80.91.229.3 (26 Feb 2015 16:27:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Feb 2015 16:27:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34054@lists.math.uh.edu Thu Feb 26 17:27:08 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YR1HH-0002Pc-GN for ding-account@gmane.org; Thu, 26 Feb 2015 17:27:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1YR1GY-0006NO-Vt; Thu, 26 Feb 2015 10:26:23 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YR1GX-0006N6-HS for ding@lists.math.uh.edu; Thu, 26 Feb 2015 10:26:21 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YR1GO-0001Vl-Vv for ding@lists.math.uh.edu; Thu, 26 Feb 2015 10:26:21 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YR1GJ-0006by-M2 for ding@gnus.org; Thu, 26 Feb 2015 17:26:07 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YR1GC-0001lc-AD for ding@gnus.org; Thu, 26 Feb 2015 17:26:00 +0100 Original-Received: from 193.134.202.243 ([193.134.202.243]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Feb 2015 17:26:00 +0100 Original-Received: from lanz by 193.134.202.243 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Feb 2015 17:26:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 67 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.134.202.243 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:QsERTrsf+0mbsB41vgWilkFJbMQ= X-Spam-Score: 0.3 (/) X-Spam-Report: SpamAssassin (3.4.0 2014-02-07) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-103--6890h-0s--0d--bug, 0.000-64--4269h-0s--0d--0100, 0.000-13--823h-0s--0d--archive, 0.000-12--794h-0s--0d--configuration, 0.000-10--633h-0s--0d--H*M:fsf Spam tokens: 0.990-2824--174h-1343s--0d--HTo:D*gnus.org, 0.989-3035--189h-1444s--0d--H*RU:quimby.gnus.org, 0.989-3035--189h-1444s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.988-3003--221h-1444s--0d--H*RT:80.91.231.51, 0.988-3003--221h-1444s--0d--Hx-spam-relays-internal:quimby.gnus.org Autolearn status: no autolearn_force=no -1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [80.91.229.3 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.0 FSL_HELO_BARE_IP_2 No description available. List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85815 Archived-At: On Don 26 Feb 2015 (15:17:06 +0100) Adrian Lanz writes: > Help, I am suddenly loosing old mails - they are deleted instead of > expired (for some 3 weeks now). I am on Gnus v5.13. > > I am not aware of any changes in my configuration. Possibly, I may have > experimented with a nnvirtual group (nnvirtual "^nnfolder\\+mail.*$") > [...] > > My relevant entries since always are: > > (setq-default nnmail-expiry-wait-function > (lambda (group) > (cond ((string= group "spam.mail") 5) > ((string= group "root@sampling") 5) > (t 30))) > gnus-total-expirable-newsgroups "nnfolder\\+mail:.*" > gnus-mark-copied-or-moved-articles-as-expirable t > nnmail-expiry-target 'nnmail-fancy-expiry-target > nnmail-fancy-expiry-targets > '(("xref" "spam\\.mail:[01-9]" "nnml+expired:spam.%Y") > (to-from "root@sampling" "nnml+expired:sampling-root-%Y") > (to-from "et\\.com" "nnml+expired:et-%Y") > (to-from "ws\\.com" "nnml+expired:ws-%Y") > (to-from ".*" "nnml+expired:other-%Y")))) > > > (setq-default gnus-select-method '(nnnil "") > gnus-secondary-select-methods > `((nntp "news.gmane.org") > (nnfolder "mail" > [...] > (nnfolder-get-new-mail t) > (nnfolder-inhibit-expiry nil)) > > (nnml "expired" > [...] > (nnml-get-new-mail nil) > (nnml-inhibit-expiry t)) > > > And, expiry of spam and sampling-root continuous to work as expected, > but the (important!) mails in the other groups in nnfolder+mail:* get > lost! Ok, I see what is happening, but I am completely lost why and whether it is a bug or a bad configuration from my side. The old and always bahaviour: Entering a normal mail group, reading an article and quitting the group, marks the article as read showing the "O" mark when re-entering the group - expiry to the archive works as intended (after 30 days) With a virtual group to ease checking unread mails across all the mail groups (nnvirtual "^nnfolder\\+mail.*$") the following happens: entering this virtual group (without even reading any articles) and leaving it, marks all read articles in all mail groups as expirable with a visible "E" mark, and articles get deleted (after 7 days, I think) instead of expired (moved) to the archive after 30 days Is this intended? How can I avoid the virtual group annul the expiry process? Best, Adrian.