Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: bijan@psq.com (Bijan Soleymani,,,)
Subject: Re: Gnus FAQ good for printing?
Date: 29 Dec 2002 19:34:05 -0500	[thread overview]
Message-ID: <874r8wjqf6.fsf@hurd.crasseux.com> (raw)
In-Reply-To: <6865tch9gt.fsf@fencepost.gnu.org>

Don Saklad <dsaklad@gnu.org> writes:

> /home/d/dsaklad/.emacs
> 
> (menu-bar-mode -1)
> (display-time-mode 1)
> (column-number-mode 1)
> (put 'eval-expression 'disabled nil)
> (setq gnus-select-method '(nntp "news.cent.net"))   ; maybe fix this
> (setq gnus-secondary-select-methods
>       '((nnml "private")))
> (setq mail-sources
>       '((file :path "/var/spool/mail/dsaklad")))
> (defun don ()
>   "Run rmail, setting it up the way don saklad likes it."
>   (interactive)
>   (delete-other-windows)
>   (split-window-vertically)
>   (rmail)
>   (rmail-summary)
>   (other-window 1)
>   (enlarge-window 18))
> 
> /home/d/dsaklad/.emacs
> 
> 
> What might be tried to get email in gnus working?...
> With that .emacs above, email in gnus didn't work. 
I use the following:

;set newsnet server
(setq gnus-select-method '(nntp "news.videotron.ca"))

;set email address
(setq user-mail-address "bijan@psq.com")

;setup my two pop accounts
(setq mail-sources
	'((pop :server "pop.psq.com" :user "bijan@psq.com" :password "XXXXXXX")
	  (pop :server "mail.crasseux.com" :user "trustno1@crasseux.com" :password "XXXXXXXX")))

;choose how to handle mail once it's here
(setq gnus-secondary-select-methods
        '((nnml "private")))

;split the mail depending on where it is addressed to
(setq nnmail-split-methods
        '(("psq" "To: bijan@psq.com")
	("crasseux" "To: trustno1@crasseux.com")
	("general" "")))  ;catch-all so that mail doesn't disappear :)

;send using my ISP's smtp server
(setq message-send-mail-function `smtpmail-send-it
      send-mail-function `smtpmail-send-it
      smtpmail-smtp-server "relais.videotron.ca"
      smtpmail-debug-info t)

Hope that helps,
Bijan


      parent reply	other threads:[~2002-12-30  0:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <86k7hvb6un.fsf@zeus.knighten.org>
     [not found] ` <bs36v65d.fsf@hschmi22.userfqdn.rz-online.de>
     [not found]   ` <y447kdt5gsc.fsf@nestle.ai.mit.edu>
     [not found]     ` <d6nlf8ye.fsf@hschmi22.userfqdn.rz-online.de>
     [not found]       ` <iloverobin.87hecxdrbt.fsf@news.socha.net>
2002-12-29 15:58         ` Frank Schmitt
     [not found]           ` <6865tch9gt.fsf@fencepost.gnu.org>
2002-12-30  0:34             ` Bijan Soleymani,,, [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=874r8wjqf6.fsf@hurd.crasseux.com \
    --to=bijan@psq.com \
    /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).