* Gnus expiry-target and maildir
@ 2007-10-15 23:33 Sven Bretfeld
2007-10-16 18:15 ` Reiner Steib
0 siblings, 1 reply; 4+ messages in thread
From: Sven Bretfeld @ 2007-10-15 23:33 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Gnus expiry-target and maildir
@ 2007-10-15 23:38 sven.bretfeld
0 siblings, 0 replies; 4+ messages in thread
From: sven.bretfeld @ 2007-10-15 23:38 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gnus expiry-target and maildir
2007-10-15 23:33 Sven Bretfeld
@ 2007-10-16 18:15 ` Reiner Steib
2007-10-16 20:17 ` Reiner Steib
0 siblings, 1 reply; 4+ messages in thread
From: Reiner Steib @ 2007-10-16 18:15 UTC (permalink / raw)
To: help-gnu-emacs
On Tue, Oct 16 2007, Sven Bretfeld wrote:
> gnus-select-method '(nnmaildir "Mail" (directory "~/.Mail/"))
[...]
> (setq gnus-message-archive-group "nnmaildir+Mail:outbox")
[...]
> (setq nnmail-expiry-target "nnmaildir+Mail:expired")
Just a shot in the dark...
There's an inconsistency here: In `gnus-select-method' you specify
nnmaildir as the native select method while `nnmail-expiry-target'
specifies a secondary select method.
In the Group buffer, you can jump to native groups e.g. using `j
some.group RET', while for secondary groups, you need to use `j
nnmaildir+Mail:some.group'.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gnus expiry-target and maildir
2007-10-16 18:15 ` Reiner Steib
@ 2007-10-16 20:17 ` Reiner Steib
0 siblings, 0 replies; 4+ messages in thread
From: Reiner Steib @ 2007-10-16 20:17 UTC (permalink / raw)
To: help-gnu-emacs
On Tue, Oct 16 2007, Reiner Steib wrote:
> On Tue, Oct 16 2007, Sven Bretfeld wrote:
>
>> gnus-select-method '(nnmaildir "Mail" (directory "~/.Mail/"))
> [...]
>> (setq gnus-message-archive-group "nnmaildir+Mail:outbox")
> [...]
>> (setq nnmail-expiry-target "nnmaildir+Mail:expired")
>
> Just a shot in the dark...
>
> There's an inconsistency here: In `gnus-select-method' you specify
> nnmaildir as the native select method while `nnmail-expiry-target'
> specifies a secondary select method.
>
> In the Group buffer, you can jump to native groups e.g. using `j
> some.group RET', while for secondary groups, you need to use `j
> nnmaildir+Mail:some.group'.
BTW, you might receive more feedback on Gnus in gnu.emacs.gnus (aka
aka info-gnus-english<at>gnu.org aka gmane.emacs.gnus.user).
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-16 20:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-15 23:38 Gnus expiry-target and maildir sven.bretfeld
-- strict thread matches above, loose matches on Subject: below --
2007-10-15 23:33 Sven Bretfeld
2007-10-16 18:15 ` Reiner Steib
2007-10-16 20:17 ` Reiner Steib
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.