Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Sharon Kimble <boudiccas@talktalk.net>
To: info-gnus-english@gnu.org
Subject: Re: How to get mail from localhost?
Date: Sat, 22 Mar 2014 16:37:07 +0000	[thread overview]
Message-ID: <20140322163707.26e97692@london> (raw)
In-Reply-To: <87wqfmnsvn.fsf@topper.koldfront.dk>


[-- Attachment #1.1: Type: text/plain, Size: 4762 bytes --]

On Sat, 22 Mar 2014 16:41:00 +0100
asjo@koldfront.dk (Adam Sjøgren) wrote:

> 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
> 
Thanks Adam, but its just not working, and I can't see why. Therefore
this is the guts of my '.gnus.el'
================================================
;;; package --- gnus.el setup
;;; Commentary - 2014-03-22

(setq smtpmail-smtp-server "smtp.talktalk.net") 
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(require 'smtpmail)

(setq smtpmail-auth-credentials "~/.authinfo")

(setq mail-sources '((pop :server "mail.talktalk.net"
						  :user "custardpie@talktalk.net"
						  :password "rhubarbandcustard")))

(setq user-mail-address "custardpie@talktalk.net")
     (setq user-full-name "Sharon Kimble")

(setq gnus-home-directory    "~/.emacs.d/gnus.d/"
      gnus-init-file	     "~/.emacs.d/.gnus.el")
 
;; No primary server:
;; (setq gnus-select-method '(list 'nnspool (system-name)))
(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")))

(setq mail-sources '((file :path "/var/mail/boudiccas")))

(provide '.gnus)
;;; .gnus.el ends here
=========================================

And this is what is shown on the 'gnus desktop' 
=============================
 U     *: nnml:mail.misc
       6: nnfolder+archive:sent-mail
       1: nnfolder+archive:sent-news
      14: nnfolder+archive:sent.2014-03
      16: nndraft:drafts
 U     *: gmane.linux.debian.user
       *: gmane.emacs.gnus.general
==============================

And this is the pathway of the folders -
~/.emacs.d/gnus.d/
~/.emacs.d/gnus.d/mail/
~/.emacs.d/gnus.d/mail/bogus/
~/.emacs.d/gnus.d/mail/emacs/
~/.emacs.d/gnus.d/mail/misc/
~/.emacs.d/gnus.d/mail/org-mode/
~/.emacs.d/gnus.d/active

But none of the files or 'active' are touched with the time that I
started GNUs off, I don't know where its getting the information from,
as its not reading the folders in the pathway.

I think that its somehow reading the old setup, which isn't being
updated, and the '.gnus.el' above is the only one on the machine, so I'm
puzzled. 

I'm sorry for presuming so much onto your time, but I am seriously
trying to use GNUs for all of my emails, but at the moment its just not
working, and I can't see why. 

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, emacs 24.3.1
Registered Linux user 561944

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
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 16:37 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
2014-03-22 16:37       ` Sharon Kimble [this message]
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=20140322163707.26e97692@london \
    --to=boudiccas@talktalk.net \
    --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).