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: Re: Gnus configuration to connect IMAP server? Date: Fri, 12 Aug 2016 00:57:13 +0200 Organization: Me Message-ID: <87zioi29ti.fsf@linux-qg7d.fritz.box> 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 1470956438 19292 195.159.176.226 (11 Aug 2016 23:00:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2016 23:00:38 +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 Fri Aug 12 01:00:35 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 1bXyxm-0004oJ-8W for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 01:00:34 +0200 Original-Received: from localhost ([::1]:50816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXyxf-0001A4-54 for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Aug 2016 19:00:28 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 58 Original-X-Trace: individual.net UClRlKUHTNxe1XV92ZQT0we7pz4wPwzragwPd75PzloZGJvQs= Cancel-Lock: sha1:Vb78Eyiuf1LE+wfGXCL2W1cEaqg= sha1:sznZnTnmr6nmoUqAheRbKB1M31c= Original-Xref: usenet.stanford.edu gnu.emacs.help:218722 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:111116 Archived-At: I wrote: > I'm using emacs 24.5.1 on linux. > > 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 [...] > > 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: > > [Complete example session deleted] > > What can I do to debug the problem? Well, in the meantime, I'm able to use that IMAP account also with wanderlust, although I haven't used that so far. The needed configuration for that follows below, for IMAP and SMTP. One special thing was, that I needed (setq starttls-extra-arguments '("--insecure")) because it is true, what the wanderlust error message in *Messages* said: the host name of the certificate doesn't match. If that certificate problem is the reason, why gnus doesn't work for me, for this account - what would be the magic, that I could it make work with gnus? That's the wanderlust .wl, use: ;; IMAP (setq elmo-imap4-default-server "xxx.de" elmo-imap4-default-user "yyy@xxx.de" elmo-imap4-default-stream-type 'starttls) ;; SMTP (setq wl-smtp-connection-type 'starttls wl-smtp-posting-user "yyy@xxx.de" wl-smtp-authenticate-type "cram-md5" wl-smtp-posting-server "xxx.de") (setq wl-from "Mir " wl-default-folder "%INBOX." wl-draft-folder "%INBOX.Drafts" wl-trash-folder "%INBOX.Trash" wl-fcc "%INBOX.Sent")