Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: bullone <kulugox@gmail.com>
To: info-gnus-english@gnu.org
Subject: Cannot connect to nntp.gmane.org news.gmane.org nntp.aioe.org and most of the nntp servers
Date: Sat, 26 Oct 2013 09:26:47 -0700 (PDT)	[thread overview]
Message-ID: <2f5786dd-71c9-434a-b4d3-f98a872847b0@googlegroups.com> (raw)

After  a long time struggling with   gnus  to integrate with offlineimap and dovecot, gnus could read mails from the integration.

During the  integrating process, at first  my dovecot was not configured well
(I lost the  "LAYOUT=fs" of "mail_location = maildir:%h/Maildir:LAYOUT=fs"), all my INBOXes of several gmail accounts mixed in one INBOX ,and some contents of the messages did not correspond to titles in the summary buffer.

At that time I blindly did gnus-group-clear-data-on-native-groups a lot of times.
I didn't know whether this action would ruin  my .newsrc.eld or not.

Now I could see the groups of nnimap methods which  connect to my local dovecot maildir(although there are still something I cannot explain: 
like---each nnimap method contains groups which should belong to other methods and I cannot open these kind of groups).

What's worse is  I cannot open any NNTP servers anymore.

I've asked on the #gnus, and googled but still have no ideas about it .

when I open gnus, the error as below appears:
>>> (error nntp.gmane.org/nntp 未知的名稱或服務)
nntp (nntp.gmane.org) open error: '>>> (error nntp.gmane.org/nntp 未知的名稱或服務)'.  Continue? (y or n)  n
Couldn't open server on nntp.gmane.org
Quit [3 times]

and I have tried as batin suggested(batin:Thank you :-)) :
1.C-u M-x gnus
2. restart emacs with "-q" 
3. rename .newsrc and .newsrc.eld
but still with no luck...

below is my .gnus:

(require 'pgg)
(setq user-full-name "Frank")
(setq nnrss-use-local t)
(setq imap-shell-program "MAIL=maildir:$HOME/Maildir /usr/lib/dovecot/imap")
(defun my-message-mode-setup ()
   (setq fill-column 72)
   (turn-on-auto-fill))
  (add-hook 'message-mode-hook 'my-message-mode-setup)

(setq message-send-mail-function 'message-send-mail-with-sendmail)
(setq sendmail-program "/usr/bin/msmtp")
(setq gnus-permanently-visible-groups ".*")
(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
(require 'gnus-switch)



and below is part of my custom-file:
 '(gnus-buttonized-mime-types (quote ("multipart/alternative" "multipart/signed")))
 '(gnus-default-charset (quote chinese-iso-8bit))
 '(gnus-group-list-inactive-groups nil)
 '(gnus-group-name-charset-group-alist (quote ((".*" . utf-8) ("\\\\.com\\\\.cn:" . cn-gb-2312))))
 '(gnus-group-name-charset-method-alist (quote (((nntp "news.newsfan.net") . gbk))))
 '(gnus-group-use-permanent-levels t)
 '(gnus-keep-same-level t)
 '(gnus-newsgroup-ignored-charsets (quote (unknown-8bit x-unknown iso-8859-1)))
 '(gnus-notifications-minimum-level 3)
 '(gnus-save-killed-list nil)
 '(gnus-select-method (quote (nntp "news.gmane.org")))
 '(gnus-secondary-select-methods
   (quote
    ((nnimap "kiss"
             (nnimap-address "localhost")
             (nnimap-server-port 993)
             (nnimap-stream shell)
             (nnimap-shell-program "MAIL=maildir:$HOME/Maildir/kiss /usr/lib/dovecot/imap")
             (nnimap-authinfo-file "~/.authinfo.gpg"))
     (nnimap "99"
             (nnimap-address "localhost")
             (nnimap-server-port 993)
             (nnimap-stream shell)
             (nnimap-shell-program "MAIL=maildir:$HOME/Maildir/99 /usr/lib/dovecot/imap")
             (nnimap-authinfo-file "~/.authinfo.gpg"))
     (nnimap "kulug"
             (nnimap-address "localhost")
             (nnimap-server-port 993)
             (nnimap-shell-program "MAIL=maildir:$HOME/Maildir/kulug /usr/lib/dovecot/imap")
             (nnimap-stream shell)

Any idea will be appreciate!
Frank
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

             reply	other threads:[~2013-10-26 16:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-26 16:26 bullone [this message]
2013-10-26 16:30 ` bullone
2013-10-28  0:31   ` Harry Putnam
2013-10-28  0:33   ` Harry Putnam
2013-10-28 16:30   ` bullone

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=2f5786dd-71c9-434a-b4d3-f98a872847b0@googlegroups.com \
    --to=kulugox@gmail.com \
    --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).