From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rolf Ade Newsgroups: gmane.emacs.help Subject: Gnus configuration to connect IMAP server? Date: Thu, 11 Aug 2016 17:24:57 +0200 Organization: Me Message-ID: <87fuqbcoqe.fsf@linux-qg7d.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470930271 31039 195.159.176.226 (11 Aug 2016 15:44:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2016 15:44:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 11 17:44:28 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXs9j-0007xd-SD for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Aug 2016 17:44:27 +0200 Original-Received: from localhost ([::1]:49239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXs9g-0006Mw-MQ for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Aug 2016 11:44:24 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 68 Original-X-Trace: individual.net w6O0+yzi1CS4Fd07dxY7pgv/iT4DJTehA6dl62Ju7rn31oMpA= Cancel-Lock: sha1:+ZGgbBNcvgfHteEk83TQAokikvg= sha1:6PLSUKeg64gE3syoTRTVkiU0e2k= Original-Xref: usenet.stanford.edu gnu.emacs.help:218721 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111115 Archived-At: I'm using emacs 24.5.1 on linux. Up to now I used gnus just for an nntp feed and, as gnus-secondary-select-methods, gmane. I'm trying to add an IMAP account as another gnus-secondary-select-methods. The IMAP server is working; I'm able to access the IMAP account with thunderbird. I've tried all kind of configurations, starting from simple up to spelling out all kind of parameters, but no fun. E.g. (setq gnus-secondary-select-methods '((nntp "news.gmane.org") (nnimap "umkehrbar" (nnimap-stream starttls) (nnimap-address "xxx.de") (nnimap-user "yyy@xxx.de") (nnimap-inbox "INBOX")))) The *Messages* buffer tells me things like "Opening nnimap server on umkehrbar...failed: BAD Invalid characters in atom" that doesn't help much. I'm able to talk to the IMAP server on the cmd line: rolf@linux-qg7d:~> gnutls-cli -s -p imap xxx.de Processed 149 CA certificate(s). Resolving 'xxx.de'... Connecting to 'ddd.ddd.ddd.ddd:143'... |<1>| Note that the security level of the Diffie-Hellman key exchange has been lowered to 512 bits and this may allow decryption of the session data - Simple Client Mode: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready. a1 LOGIN yyy@xxx.de zzz a1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE QUOTA] Logged in a2 LIST "" "*" * LIST (\HasChildren) "." INBOX * LIST (\HasNoChildren) "." INBOX.Spam * LIST (\HasNoChildren) "." INBOX.Trash * LIST (\HasNoChildren) "." INBOX.Sent * LIST (\HasNoChildren) "." INBOX.Drafts a2 OK List completed (0.000 secs). a3 EXAMINE INBOX * FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk) * OK [PERMANENTFLAGS ()] Read-only mailbox. * 4 EXISTS * 0 RECENT * OK [UIDVALIDITY 1470408319] UIDs valid * OK [UIDNEXT 5] Predicted next UID * OK [HIGHESTMODSEQ 12] Highest a3 OK [READ-ONLY] Examine completed (0.000 secs). a4 LOGOUT * BYE Logging out a4 OK Logout completed. - Peer has closed the GnuTLS connection What can I do to debug the problem? Thanks rolf