From: Sven Bretfeld <sven.bretfeld@relwi.unibe.ch>
To: help-gnu-emacs@gnu.org
Subject: Gnus expiry-target and maildir
Date: Tue, 16 Oct 2007 01:33:51 +0200 [thread overview]
Message-ID: <87ejfwhs0w.fsf@kamaloka.dhatu> (raw)
Hello to all
I'm a complete newbie to Gnus, but I could solve most of my starting
problems by reading appropriate documentations. There is one thing left
I cannot solve alone.
I'm trying to tell Gnus to save expired mail in a
maildir-directory. This is what I have in my .gnus.el:
(setq gnus-directory "~/.Mail")
(setq message-directory "~/.Mail/Mail")
(setq message-auto-save-directory "~/.Mail/drafts")
(setq
gnus-select-method '(nnmaildir "Mail" (directory "~/.Mail/"))
mail-sources '((maildir :path "~/.Mail/" :subdirs ("cur" "new")))
mail-source-delete-incoming t)
(setq gnus-secondary-select-methods nil)
(setq gnus-message-archive-group "nnmaildir+Mail:outbox")
(setq gnus-summary-same-subject "")
(setq gnus-sum-thread-tree-root "")
(setq gnus-sum-thread-tree-single-indent "")
(setq gnus-sum-thread-tree-leaf-with-other "+-> ")
(setq gnus-sum-thread-tree-vertical "|")
(setq gnus-sum-thread-tree-single-leaf "`-> ")
(setq message-generate-headers-first t)
(setq nnmail-expiry-target "nnmaildir+Mail:expired")
The last line should make expired mail to be stored in a maildir
~/.Mail/expired/. At least I think so from reading the manuals. However,
if I mark an email as expirable ("E") and run gnus-group-expire-articles
(or just leave the summary buffer) it just vanishes, seemingly deleted
from the disk. The folder ~/.Mail/expired/ stays empty. (I try it with
old spam-mail, so it's not a loss. Of course, I make read mail visible
when entering the group, that's not the mistake.)
But what can be the problem?
Thanks for suggestions
Sven
next reply other threads:[~2007-10-15 23:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-15 23:33 Sven Bretfeld [this message]
2007-10-16 18:15 ` Gnus expiry-target and maildir Reiner Steib
2007-10-16 20:17 ` Reiner Steib
-- strict thread matches above, loose matches on Subject: below --
2007-10-15 23:38 sven.bretfeld
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ejfwhs0w.fsf@kamaloka.dhatu \
--to=sven.bretfeld@relwi.unibe.ch \
--cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).