[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get mail from localhost?
From: |
Adam Sjøgren |
Subject: |
Re: How to get mail from localhost? |
Date: |
Sat, 22 Mar 2014 16:41:00 +0100 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) |
Sharon Kimble <boudiccas@talktalk.net> writes:
> ; No primary server:
> ;(setq gnus-select-method '(list 'nnspool (system-name)))
> (setq gnus-select-method '(nnnmil ""))
^^^^^^
This should be nnnil - not nnnmil.
> ; Get email, and store in nnml:
> (setq gnus-select-method '(nntp "news.gmane.org"))
Here you are overwriting the other select method you set above - which
is confusing :-)
> (add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.org"))
Adding the same server to gnus-secondary-select-methods as the one you
just have set in gnus-select-method is probably a bad idea.
> (add-to-list 'gnus-secondary-select-methods '((nnml ""))
> (nnml-directory "~/.emacs.d/gnus.d/mail/")
> (nnml-active-file "~/.emacs.d/gnus.d/mail/active")
> mail-sources '(file :path "/var/mail/boudiccas"))
mail-sources is a variable by itself, it should not be part of your
gnus-secondary-select-methods definition.
Also, I think you have got your parenthesis mixed up; nnml-directory and
nnml-active-file is supposed to be right after the "".
o o o
I would rewrite the configuration you posted like this:
(setq gnus-select-method '(nnnil ""))
(setq gnus-secondary-select-methods '((nnml ""
(nnml-directory
"~/.emacs.d/gnus.d/mail/")
(nnml-active-file
"~/.emacs.d/gnus.d/mail/active"))
(nntp "news.gmane.org")))
(I don't mind my mail ending up in ~/Mail/, so I don't set
nnml-directory and nnml-active-file in my configuration, but that's just
a matter of taste.)
If your login boudiccas, then you don't need to set mail-sources. If it
isn't, I would add:
(setq mail-sources '((file :path "/var/mail/boudiccas")))
to the above.
Hope this helps a little.
Best regards,
Adam
--
"Money always takes the place of life" Adam Sjøgren
asjo@koldfront.dk
- How to get mail from localhost?, Sharon Kimble, 2014/03/21
- Re: How to get mail from localhost?, Glyn Millington, 2014/03/22
- Re: How to get mail from localhost?, Sharon Kimble, 2014/03/22
- Re: How to get mail from localhost?,
Adam Sjøgren <=
- Re: How to get mail from localhost?, Sharon Kimble, 2014/03/22
- Re: How to get mail from localhost?, Adam Sjøgren, 2014/03/22
- Re: How to get mail from localhost?, Sharon Kimble, 2014/03/22
- Re: How to get mail from localhost?, Adam Sjøgren, 2014/03/22
- Tweaking., Sharon Kimble, 2014/03/23
- time in summary line (was: Tweaking.), Peter Münster, 2014/03/23
- Re: time in summary line (was: Tweaking.), Sharon Kimble, 2014/03/23
- Re: time in summary line, Peter Münster, 2014/03/23
- Re: time in summary line, Adam Sjøgren, 2014/03/23
- Re: time in summary line, Peter Münster, 2014/03/23