Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: info-gnus-english@gnu.org
Subject: Re: How to get mail from localhost?
Date: Sat, 22 Mar 2014 16:41:00 +0100	[thread overview]
Message-ID: <87wqfmnsvn.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <20140322151818.5d11b3b1@london>

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


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  reply	other threads:[~2014-03-22 15:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-21 19:27 Sharon Kimble
2014-03-21 19:58 ` Adam Sjøgren
2014-03-21 23:17   ` Sharon Kimble
2014-03-22 12:50     ` Adam Sjøgren
2014-03-22 15:16       ` Sharon Kimble
2014-03-22  7:15 ` Glyn Millington
2014-03-22 15:18   ` Sharon Kimble
2014-03-22 15:41     ` Adam Sjøgren [this message]
2014-03-22 16:37       ` Sharon Kimble
2014-03-22 18:40         ` Adam Sjøgren
2014-03-22 20:34           ` Sharon Kimble
2014-03-22 20:58             ` Adam Sjøgren
2014-03-23 12:52               ` Tweaking Sharon Kimble
2014-03-23 13:39                 ` time in summary line (was: Tweaking.) Peter Münster
2014-03-23 14:03                   ` Sharon Kimble
2014-03-23 16:35                     ` time in summary line Peter Münster
2014-03-23 16:58                       ` Adam Sjøgren
2014-03-23 20:33                         ` Peter Münster
     [not found]       ` <mailman.17864.1395506256.10748.info-gnus-english@gnu.org>
2014-03-22 16:46         ` How to get mail from localhost? Pascal J. Bourguignon
2014-03-22 17:15           ` Sharon Kimble
     [not found] <mailman.17781.1395430091.10748.info-gnus-english@gnu.org>
2014-03-22  6:53 ` Pascal J. Bourguignon
2014-03-22 12:37   ` Adam Sjøgren

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wqfmnsvn.fsf@topper.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=info-gnus-english@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 NNTP newsgroup(s).