Gnus development mailing list
 help / color / mirror / Atom feed
From: "Michael Welsh Duggan" <md5i@schenley.com>
Cc: ntemacs@ntemacs-users@cs.washington.edu
Subject: Re: nnfolders and nnmail on NT?
Date: 31 Jul 1996 16:42:18 -0400	[thread overview]
Message-ID: <u4tmo40k5.fsf@maru.schenley.com> (raw)
In-Reply-To: Robert Nicholson's message of Wed, 31 Jul 1996 14:32:25 -0400 (EDT)

Robert Nicholson <steffi@DGS.dgsys.com> writes:

> 
> This may be littleoff topic but last time I asked people were saying
> that they were using GNUS under NT with the movemail that speaks POP3?
> 
> I'd like know if anybody is running GNUS with SMTP mail under NT and
> if so, how are you filtering your mail to create yoru .spool files?

This probably ought to be in both the NTEmacs and Gnus FAQs, so this
has been CC'd to the ntemacs mailing list.

This is valid for Gnus 5.2.somehighnumber.  I suggest getting the
latest one you can find, as there were several NT-specific bugfixes
inside there.  It will probably work on Gnus 5.3, but no guarantees.

First, for SMTP, you want smptmail.el.  You can retrieve this from
<URL:http://www.cs.washington.edu/homes/voelker/ntemacs.html> courtesy
of the NTEmacs FAQ.

I then have the following incantations in my .emacs:

;;; Mail!
(setq smtpmail-default-smtp-server "localhost")
(setq message-send-mail-function 'smtpmail-send-it)
(setq message-user-organization "Schenley Park Research, Inc.")
(require 'smtpmail)

Note that the smtp-server variable should point to your smtp server.
Mine just happens to be on localhost.

That done, there are a couple of variables you will want to set in
your .gnus file:

;;; Select Method
(setq gnus-select-method '(nntp "news.usaor.net"))
(setq gnus-secondary-select-methods
      '((nnfolder "~/Mail")))
;; Needless to say, this needn't be nnfolder, and it needn't be in
;; ~/Mail 

;;; Some other things
(setq gnus-use-long-file-name nil) ; This used to be necessary, but a
				   ; later version of gnus fixed it so
				   ; that colons became underscores.

;;; Mail!
(setenv "MAILHOST" "schenley.com")
(setq nnmail-spool-file '("po:md5i" "po:root")) 
;; "po:username" for whatever your mailhost is.  This requires
;; movemail, which comes with NTEmacs.  Red Gnus will have native POP
;; support.  (Yeah!)
(setq nnmail-pop-password-required t)
(setq nnmail-pop-password "nottellingyou")
(setq nnmail-use-long-file-names t) ; Suit to taste
(setq nnmail-crosspost-link-function 'copy-file) ; Needed!

All this is a minimal gnus installation.  You will probably want to
look up and set a whole hoard of other options.  As with any program,
I suggest checking the documentation of any and all variables I have
mentioned here before using them.  It is possible that one of these is
not set the way you would actually like it.  And you should _always_
understand what is in your .emacs.

Hope this helps!

-- 
Michael Duggan
(md5i@schenley.com)


      reply	other threads:[~1996-07-31 20:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-31 18:32 Robert Nicholson
1996-07-31 20:42 ` Michael Welsh Duggan [this message]

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=u4tmo40k5.fsf@maru.schenley.com \
    --to=md5i@schenley.com \
    --cc=ntemacs@ntemacs-users \
    /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).