* deleting instead of expiring mail
@ 2015-02-26 14:17 Adrian Lanz
2015-02-26 16:25 ` Adrian Lanz
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Lanz @ 2015-02-26 14:17 UTC (permalink / raw)
To: ding
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.*$")
The log in the *Message* buffer seems a bit suspicious (just a snippet
for one of the groups with C-c C-M-x gnus-group-expire-all-groups) -
where comes the "Deleting articles..." from? Is this correct?
Expiring articles in nnfolder+mail:noreply@ecoapwebsite.eu...
Deleting articles...done
Expiring articles in nnfolder+mail:noreply@ecoapwebsite.eu...done
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!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: deleting instead of expiring mail
2015-02-26 14:17 deleting instead of expiring mail Adrian Lanz
@ 2015-02-26 16:25 ` Adrian Lanz
2015-02-27 17:29 ` Eric S Fraga
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Lanz @ 2015-02-26 16:25 UTC (permalink / raw)
To: ding
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: deleting instead of expiring mail
2015-02-26 16:25 ` Adrian Lanz
@ 2015-02-27 17:29 ` Eric S Fraga
0 siblings, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2015-02-27 17:29 UTC (permalink / raw)
To: ding
On Thursday, 26 Feb 2015 at 17:25, Adrian Lanz wrote:
[...]
> Is this intended? How can I avoid the virtual group annul the expiry
> process?
Maybe change the value of the global variable gnus-expiry-target (and
gnus-expiry-wait while you're at it)? These default to delete and 7
respectively.
--
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 24.4.1 + Ma Gnus v0.12 + evil-git-bdeb602
: BBDB version 3.1.2 (2014-04-27 15:05:20 -0500)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-27 17:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 14:17 deleting instead of expiring mail Adrian Lanz
2015-02-26 16:25 ` Adrian Lanz
2015-02-27 17:29 ` Eric S Fraga
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).