From: Adrian Lanz <lanz@wsl.ch>
To: ding@gnus.org
Subject: Re: deleting instead of expiring mail
Date: Thu, 26 Feb 2015 17:25:50 +0100 [thread overview]
Message-ID: <yovatwy88ws1.fsf@sampling.wsl.ch> (raw)
In-Reply-To: <yovaoaogdafx.fsf@sampling.wsl.ch>
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.
next prev parent reply other threads:[~2015-02-26 16:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-26 14:17 Adrian Lanz
2015-02-26 16:25 ` Adrian Lanz [this message]
2015-02-27 17:29 ` Eric S Fraga
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=yovatwy88ws1.fsf@sampling.wsl.ch \
--to=lanz@wsl.ch \
--cc=ding@gnus.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).