From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Gnus configuration to connect IMAP server? Date: Thu, 11 Aug 2016 21:46:21 -0400 Message-ID: <87h9aqzrma.fsf@ericabrahamsen.net> References: <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 1471013886 26120 195.159.176.226 (12 Aug 2016 14:58:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2016 14:58:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 12 16:58:02 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 1bYDuM-0006ee-IJ for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 16:58:02 +0200 Original-Received: from localhost ([::1]:52610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYDuJ-0000w4-Jd for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 10:57:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bY1YU-00042D-P7 for help-gnu-emacs@gnu.org; Thu, 11 Aug 2016 21:46:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bY1YQ-00085I-IE for help-gnu-emacs@gnu.org; Thu, 11 Aug 2016 21:46:37 -0400 Original-Received: from [195.159.176.226] (port=45754 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bY1YQ-00085B-B7 for help-gnu-emacs@gnu.org; Thu, 11 Aug 2016 21:46:34 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bY1YJ-0003Ho-KL for help-gnu-emacs@gnu.org; Fri, 12 Aug 2016 03:46:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:LObiP9bg8Eg/TqZH4/GMarOQ4jY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-Mailman-Approved-At: Fri, 12 Aug 2016 10:26:32 -0400 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:111122 Archived-At: Rolf Ade writes: > 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. The internet indicates that dovecot is receiving characters it doesn't like, probably in the password. My guess is that there is a quote character of some sort in your password, and Gnus isn't doing the right thing in encoding/escaping it. Would you edebug the `nnimap-login' function and try to step through it? What is the value of nnimap-authenticator? Which branch of that function actually executes the login? Mind you, I don't actually know how any of this works, but I'll bet that's where the problem lies. Eric