help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help with gnus


From: Tong Wang
Subject: Need help with gnus
Date: Wed, 11 Apr 2007 20:41:35 -0700

Hi All,
       I am using the emacs( the version that comes with auctex: 
emacs+auctex-w32-2007-02-23)  on Win XP,
I got some trouble when trying to set up gnus.  When I started gnus,  I got "  
unable to open nntp:news.gnus.org,
go offline ? " and if I choose yes, i got " nntp (news.gnus.org) open error : ' 
' . contiues ?  I tried some other newsgroup
like news.google.com , they don't work either.

And I also got error message when I send email :
smtpmail-send-command: Process SMTP not running
In the *trace of SMTP session to email.usc.edu* buffer, it says:
Process SMTP connection broken by remote peerb
(the email server requirs SSL, and authetication)


I attached my .gnus.el file below,  Thanks a lot for any help:

(setq gnus-select-method '(nntp "news.gnus.org"))
(add-to-list 'gnus-secondary-select-methods '(nntp "localhost"))

(setq mail-sources
      '((imap :server "email.usc.edu"  
              :user "myname"           
              :password "*********")))
(setq gnus-secondary-select-methods '((nnfolder "")))

(setq user-full-name "myname")
(setq user-mail-address "wangtong@usc.edu")
(setq smtpmail-auth-credentials
    '(("email.usc.edu" 
       "myname"        
       "*********"))) 
(setq smtpmail-default-smtp-server "email.usc.edu")
(setq smtpmail-smtp-server "email.usc.edu")
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)



(set-language-environment 'Chinese-GB)
(setq gnus-default-charset 'chinese-iso-8bit
   gnus-group-name-charset-group-alist '((".*" . chinese-iso-8bit))
   gnus-summary-show-article-charset-alist
       '((1 . chinese-iso-8bit)
         (2 . gbk)
         (3 . big5)
         (4 . utf-8))
   gnus-newsgroup-ignored-charsets
       '(unknown-8bit x-unknown iso-8859-1))

(eval-after-load "mm-decode"
  '(progn
     (add-to-list 'mm-discouraged-alternatives "text/html")
     (add-to-list 'mm-discouraged-alternatives "text/richtext")))

(setq gnus-default-subscribed-newsgroups
  '("gnu.emacs.help"  
    "cn.comp.os.linux"))
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]