* read emails from a Maildir in gnus
@ 2014-01-15 10:35 xeon Mailinglist
2014-01-16 16:48 ` Michael Heerdegen
2014-01-16 18:10 ` Jeffrey DeLeo
0 siblings, 2 replies; 4+ messages in thread
From: xeon Mailinglist @ 2014-01-15 10:35 UTC (permalink / raw
To: help-gnu-emacs
I have my email in a Maildir in the dir ~/Mail/xeonmailinglist
.
├── cur
├── hadoop
│ ├── cur
│ ├── new
│ └── tmp
├── new
└── tmp
I set the .gnus to read the email from that dir, but the email don't appear in the gnu? Why this happens?
.gnus
(setq
; gnus-select-method '(nnmaildir "mymailbox" (directory "~/Mail/xeonmailinglist"))
mail-sources '((maildir :path "/home/xeon/Mail/xeonmailinglist/" :subdirs ("cur" "new")))
mail-source-delete-incoming t
)
(setq gnus-secondary-select-methods nil)
;(setq gnus-message-archive-group "nnmaildir+mymailbox:outbox")
Thanks,
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: read emails from a Maildir in gnus
2014-01-15 10:35 read emails from a Maildir in gnus xeon Mailinglist
@ 2014-01-16 16:48 ` Michael Heerdegen
2014-01-16 18:10 ` Jeffrey DeLeo
1 sibling, 0 replies; 4+ messages in thread
From: Michael Heerdegen @ 2014-01-16 16:48 UTC (permalink / raw
To: help-gnu-emacs
xeon Mailinglist <xeonmailinglist@gmail.com> writes:
> I set the .gnus to read the email from that dir, but the email don't
> appear in the gnu? Why this happens?
I had the same problem. The solution was to create an according server
definition from the server buffer (you get there with ^ from the group
buffer), in my case the server definition looked like that:
(nnml "archive"
(nnml-directory "~/Mail/archive/")
(nnml-active-file "~/Mail/archive/active")
(nnml-newsgroups-file "~/Mail/archive/newsgroups"))
maybe you want another backend than nnml.
Then you can add groups according to your directories in the group
buffer using this server, and finally read your mails via these groups.
I'm not sure whether there is a smarter method (anybody?).
Regards,
Michael.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: read emails from a Maildir in gnus
2014-01-15 10:35 read emails from a Maildir in gnus xeon Mailinglist
2014-01-16 16:48 ` Michael Heerdegen
@ 2014-01-16 18:10 ` Jeffrey DeLeo
2014-01-16 21:24 ` Jeffrey DeLeo
1 sibling, 1 reply; 4+ messages in thread
From: Jeffrey DeLeo @ 2014-01-16 18:10 UTC (permalink / raw
To: help-gnu-emacs
If I understand your situation correctly, another program puts mail in
the directory "~/Mail/xeonmailinglist". You would like to use gnus to
read it.
How about:
(setq gnus-secondary-select-methods
'("mymailbox" (directory "~/Mail/xeonmailinglist")))
I guess you could set 'gnus-select-method to that if you wanted, I
didn't try that.
In any case, when you run gnus, run 'gnus-group-list-active' (by hitting
A A). You should find a group looking something like
"nnmaildir+mymailbox:INBOX". Subscribe to it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: read emails from a Maildir in gnus
2014-01-16 18:10 ` Jeffrey DeLeo
@ 2014-01-16 21:24 ` Jeffrey DeLeo
0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey DeLeo @ 2014-01-16 21:24 UTC (permalink / raw
To: help-gnu-emacs
Oops - that should be:
(setq gnus-secondary-select-methods
'(nnmaildir "mymailbox" (directory "~/Mail/xeonmailinglist")))
Jeffrey DeLeo <JeffreyDeLeo@gmail.com> writes:
> If I understand your situation correctly, another program puts mail in
> the directory "~/Mail/xeonmailinglist". You would like to use gnus to
> read it.
>
> How about: (setq gnus-secondary-select-methods '("mymailbox"
> (directory "~/Mail/xeonmailinglist")))
>
> I guess you could set 'gnus-select-method to that if you wanted, I
> didn't try that.
>
> In any case, when you run gnus, run 'gnus-group-list-active' (by
> hitting A A). You should find a group looking something like
> "nnmaildir+mymailbox:INBOX". Subscribe to it.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-16 21:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-15 10:35 read emails from a Maildir in gnus xeon Mailinglist
2014-01-16 16:48 ` Michael Heerdegen
2014-01-16 18:10 ` Jeffrey DeLeo
2014-01-16 21:24 ` Jeffrey DeLeo
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.