Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Getting started reading mail stored in local maildir
@ 2009-02-08 23:25 Dan Davison
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Davison @ 2009-02-08 23:25 UTC (permalink / raw)
  To: info-gnus-english

I want to try out gnus, but have got nowhere so far. I would greatly 
appreciate instruction on how to read mail stored locally in maildirs.

My email is downloaded by getmail, and stored by procmail into a variety 
of maildirs stored under ~/email/. However in order to start playing with 
gnus, I have created the directory ~/Maildir containing a single 
maildir-format directory:

~> ls ~/Maildir/dan-mail/
cur  new  tmp

My ~/.gnus.el contains

(setq gnus-select-method '(nnnil ""))
(setq gnus-secondary-select-methods
      '((nnmaildir "" (directory "/home/dan/Maildir/"))))

When I start gnus I enter a (Group Plugged) buffer which is empty 
with the message "No more unread newsgroups". When I hit "L" I see

       0: nndraft:queue 
       0: nndraft:drafts 

When I hit "^" I enter a (Server Plugged) buffer containing

 {nnfolder:archive} (closed)

 RET on that line results in a message "Connecting to archive ... done", after
which "L" displays

     {nnfolder:archive} (opened)


This isn't the first time I've lost a few hours trying to get started 
with gnus, so I am giving up and sending this (admittedly pathetic) email.

Thanks for any help!

Dan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Getting started reading mail stored in local maildir
       [not found]       ` <mailman.742.1234609576.31690.info-gnus-english@gnu.org>
@ 2009-02-14 18:19         ` Andrzej Adam Filip
  0 siblings, 0 replies; 8+ messages in thread
From: Andrzej Adam Filip @ 2009-02-14 18:19 UTC (permalink / raw)
  To: info-gnus-english

David <de_bb@arcor.de> wrote:

> Andrzej Adam Filip <anfi@onet.eu> writes:
>> My ~/Maildir directory is "managed" by dovecot pop/imap.
>> Dovecot uses names starting with dot for "sub folder directories".
>> [e.g. sub folder/sub maildir "Sent" is kept in ~/Maildir/.Sent directory]
>> Gnus "refuses to see" sub directories starting with dot.
>
> Why don't you use nnimap to access the Dovecot server? It's much faster
> than nnmaildir anyway. Also, nnmaildir manages marks differently from
> the usual maildir standard.

Currently I use IMAP via tcp to localhost to allow using multiple email
clients in parallel on my PC.
I consider switching gnus configuration to IMAP via stdin/stdout.
*BUT*
I want to be *sure* I can use direct maildir access as "fall-back".

-- 
[pl>en Andrew] Andrzej Adam Filip : anfi@onet.eu : anfi@xl.wp.pl
Murder is always a mistake -- one should never do anything one cannot
talk about after dinner.
  -- Oscar Wilde, "The Picture of Dorian Gray"

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Getting started reading mail stored in local maildir
  2009-02-14 10:03     ` Andrzej Adam Filip
@ 2009-02-14 11:06       ` David
       [not found]       ` <mailman.742.1234609576.31690.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 8+ messages in thread
From: David @ 2009-02-14 11:06 UTC (permalink / raw)
  To: info-gnus-english

Andrzej Adam Filip <anfi@onet.eu> writes:
> My ~/Maildir directory is "managed" by dovecot pop/imap.
> Dovecot uses names starting with dot for "sub folder directories".
> [e.g. sub folder/sub maildir "Sent" is kept in ~/Maildir/.Sent directory]
> Gnus "refuses to see" sub directories starting with dot.

Why don't you use nnimap to access the Dovecot server? It's much faster
than nnmaildir anyway. Also, nnmaildir manages marks differently from
the usual maildir standard.

-David

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Getting started reading mail stored in local maildir
  2009-02-09 23:28   ` Andrzej Adam Filip
@ 2009-02-14 10:03     ` Andrzej Adam Filip
  2009-02-14 11:06       ` David
       [not found]       ` <mailman.742.1234609576.31690.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Andrzej Adam Filip @ 2009-02-14 10:03 UTC (permalink / raw)
  To: info-gnus-english

Andrzej Adam Filip <anfi@onet.eu> wrote:

> Teemu Likonen <tlikonen@iki.fi> wrote:
>
>> On 2009-02-08 23:25 (UTC), Dan Davison wrote:
>>
>>> I want to try out gnus, but have got nowhere so far. I would greatly
>>> appreciate instruction on how to read mail stored locally in maildirs.
>>
>>> When I start gnus I enter a (Group Plugged) buffer which is empty 
>>> with the message "No more unread newsgroups". When I hit "L" I see
>>>
>>>        0: nndraft:queue 
>>>        0: nndraft:drafts 
>>
>> I'm not sure but I'd probably try "F" (Find new newsgroups) in *Group*
>> buffer.
>
> No luck on my PC.
> [ I also would like to make gnus list maildir+ folders ]

The hint:
My ~/Maildir directory is "managed" by dovecot pop/imap.
Dovecot uses names starting with dot for "sub folder directories".
[e.g. sub folder/sub maildir "Sent" is kept in ~/Maildir/.Sent directory]
Gnus "refuses to see" sub directories starting with dot.

When I created soft link ~/Maildir/Sent -> ~/Maildir/.Sent gnus could
see "Sent" folder (nnmaildir:Sent) but could not access messages stored
in the "sub maildir".

-- 
[pl>en Andrew] Andrzej Adam Filip : anfi@onet.eu : anfi@xl.wp.pl
There is a multi-legged creature crawling on your shoulder.
  -- Spock, "A Taste of Armageddon", stardate 3193.9

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Getting started reading mail stored in local maildir
  2009-02-09  0:20 ` Richard Riley
@ 2009-02-12 14:55   ` Dan Davison
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Davison @ 2009-02-12 14:55 UTC (permalink / raw)
  To: info-gnus-english

Richard Riley <rileyrgdev <at> gmail.com> writes:

> 
> 
> Dan Davison <davison <at> stats.ox.ac.uk> writes:
> 

> > I want to try out gnus, but have got nowhere so far. I would
> > greatly appreciate instruction on how to read mail stored
> > locally in maildirs.
> >
> > My email is downloaded by getmail, and stored by procmail
> > into a variety of maildirs stored under ~/email/. However in
> > order to start playing with gnus, I have created the
> > directory ~/Maildir containing a single maildir-format
> > directory:
> >
> > ~> ls ~/Maildir/dan-mail/
> > cur  new  tmp
> >
> > My ~/.gnus.el contains
> >
> > (setq gnus-select-method '(nnnil ""))
> > (setq gnus-secondary-select-methods
> >       '((nnmaildir "" (directory "/home/dan/Maildir/"))))
> >
> > When I start gnus I enter a (Group Plugged) buffer which is
> > empty with the message "No more unread newsgroups". When I
> > hit "L" I see
> >
> >        0: nndraft:queue 
> >        0: nndraft:drafts 
> >
> > When I hit "^" I enter a (Server Plugged) buffer containing
> >
> >  {nnfolder:archive} (closed)
> >
> >  RET on that line results in a message "Connecting to archive
> > ... done", after which "L" displays
> >
> >      {nnfolder:archive} (opened)
> >
> >
> > This isn't the first time I've lost a few hours trying to get
> > started with gnus, so I am giving up and sending
> > this (admittedly pathetic) email.
> >
> > Thanks for any help!
> >
> > Dan
> >
> >
> 
> I used to use local Maildir so know it works. I cant remember
> what i did though, but did you try here?
> 
> http://www.emacswiki.org/emacs/UsingProcmailWithGnus#toc3
> 


Thanks Richard, I did not. Stupidly I had been googling for
gnus+getmail but not gnus+procmail, and I hadn't arrived at the 
correct combination of mail-sources and select-methods. 
So I'm up and running now with the following based on that 
EmacsWiki

(setq gnus-select-method
      '(nnmaildir "email" (directory "~/email-gnus/")))
(setq gnus-secondary-select-methods '((nntp "news.gmane.org")))

(setq mail-sources
      (mapcar
       (lambda(dir) (list 'maildir :path dir :subdirs
			  '("cur" "new" "tmp")))
       (directory-files "~/email-gnus" nil "^[^.]")))

One question for now:

I've resorted to using the web to post this! I couldn't find this
thread in nntp+news.gmane.org:gmane.emacs.gnus.general, and of
course my subscription to the mailing list postdated this
message. So I didn't know how to use gnus to reply to this thread
with the correct headers. Why isn't this thread in the newsgroup?

Dan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Getting started reading mail stored in local maildir
       [not found] ` <mailman.200.1234157529.31690.info-gnus-english@gnu.org>
@ 2009-02-09 23:28   ` Andrzej Adam Filip
  2009-02-14 10:03     ` Andrzej Adam Filip
  0 siblings, 1 reply; 8+ messages in thread
From: Andrzej Adam Filip @ 2009-02-09 23:28 UTC (permalink / raw)
  To: info-gnus-english

Teemu Likonen <tlikonen@iki.fi> wrote:

> On 2009-02-08 23:25 (UTC), Dan Davison wrote:
>
>> I want to try out gnus, but have got nowhere so far. I would greatly
>> appreciate instruction on how to read mail stored locally in maildirs.
>
>> When I start gnus I enter a (Group Plugged) buffer which is empty 
>> with the message "No more unread newsgroups". When I hit "L" I see
>>
>>        0: nndraft:queue 
>>        0: nndraft:drafts 
>
> I'm not sure but I'd probably try "F" (Find new newsgroups) in *Group*
> buffer.

No luck on my PC.
[ I also would like to make gnus list maildir+ folders ]

-- 
[pl>en Andrew] Andrzej Adam Filip : anfi@onet.eu : anfi@xl.wp.pl
The confusion of a staff member is measured by the length of his memos.
  -- New York Times, Jan. 20, 1981

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Getting started reading mail stored in local maildir
       [not found] <mailman.185.1234135810.31690.info-gnus-english@gnu.org>
  2009-02-09  0:20 ` Richard Riley
@ 2009-02-09  5:31 ` Teemu Likonen
       [not found] ` <mailman.200.1234157529.31690.info-gnus-english@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Teemu Likonen @ 2009-02-09  5:31 UTC (permalink / raw)
  To: Dan Davison; +Cc: info-gnus-english

On 2009-02-08 23:25 (UTC), Dan Davison wrote:

> I want to try out gnus, but have got nowhere so far. I would greatly
> appreciate instruction on how to read mail stored locally in maildirs.

> When I start gnus I enter a (Group Plugged) buffer which is empty 
> with the message "No more unread newsgroups". When I hit "L" I see
>
>        0: nndraft:queue 
>        0: nndraft:drafts 

I'm not sure but I'd probably try "F" (Find new newsgroups) in *Group*
buffer.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Getting started reading mail stored in local maildir
       [not found] <mailman.185.1234135810.31690.info-gnus-english@gnu.org>
@ 2009-02-09  0:20 ` Richard Riley
  2009-02-12 14:55   ` Dan Davison
  2009-02-09  5:31 ` Teemu Likonen
       [not found] ` <mailman.200.1234157529.31690.info-gnus-english@gnu.org>
  2 siblings, 1 reply; 8+ messages in thread
From: Richard Riley @ 2009-02-09  0:20 UTC (permalink / raw)
  To: info-gnus-english



Dan Davison <davison@stats.ox.ac.uk> writes:

> I want to try out gnus, but have got nowhere so far. I would greatly 
> appreciate instruction on how to read mail stored locally in maildirs.
>
> My email is downloaded by getmail, and stored by procmail into a variety 
> of maildirs stored under ~/email/. However in order to start playing with 
> gnus, I have created the directory ~/Maildir containing a single 
> maildir-format directory:
>
> ~> ls ~/Maildir/dan-mail/
> cur  new  tmp
>
> My ~/.gnus.el contains
>
> (setq gnus-select-method '(nnnil ""))
> (setq gnus-secondary-select-methods
>       '((nnmaildir "" (directory "/home/dan/Maildir/"))))
>
> When I start gnus I enter a (Group Plugged) buffer which is empty 
> with the message "No more unread newsgroups". When I hit "L" I see
>
>        0: nndraft:queue 
>        0: nndraft:drafts 
>
> When I hit "^" I enter a (Server Plugged) buffer containing
>
>  {nnfolder:archive} (closed)
>
>  RET on that line results in a message "Connecting to archive ... done", after
> which "L" displays
>
>      {nnfolder:archive} (opened)
>
>
> This isn't the first time I've lost a few hours trying to get started 
> with gnus, so I am giving up and sending this (admittedly pathetic) email.
>
> Thanks for any help!
>
> Dan
>
>

I used to use local Maildir so know it works. I cant remember what i did
though, but did you try here?

http://www.emacswiki.org/emacs/UsingProcmailWithGnus#toc3

-- 
 important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday.  ~Dennis Gabor, Innovations:  Scientific, Technological and Social, 1970

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-02-14 18:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-08 23:25 Getting started reading mail stored in local maildir Dan Davison
     [not found] <mailman.185.1234135810.31690.info-gnus-english@gnu.org>
2009-02-09  0:20 ` Richard Riley
2009-02-12 14:55   ` Dan Davison
2009-02-09  5:31 ` Teemu Likonen
     [not found] ` <mailman.200.1234157529.31690.info-gnus-english@gnu.org>
2009-02-09 23:28   ` Andrzej Adam Filip
2009-02-14 10:03     ` Andrzej Adam Filip
2009-02-14 11:06       ` David
     [not found]       ` <mailman.742.1234609576.31690.info-gnus-english@gnu.org>
2009-02-14 18:19         ` Andrzej Adam Filip

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).