Gnus development mailing list
 help / color / mirror / Atom feed
From: Adrian Lanz <lanz@wsl.ch>
To: ding@gnus.org
Subject: deleting instead of expiring mail
Date: Thu, 26 Feb 2015 15:17:06 +0100	[thread overview]
Message-ID: <yovaoaogdafx.fsf@sampling.wsl.ch> (raw)

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!




             reply	other threads:[~2015-02-26 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-26 14:17 Adrian Lanz [this message]
2015-02-26 16:25 ` Adrian Lanz
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=yovaoaogdafx.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).