From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Gnus: Error on setting up IMAP accounts Date: Sat, 29 Oct 2011 10:09:08 +0200 Message-ID: <87r51wp6cb.fsf@thinkpad.tsdh.de> References: <0086A532-E15A-4BDF-B4E4-9F5F9EB7682F@math.ethz.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319875766 14407 80.91.229.12 (29 Oct 2011 08:09:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2011 08:09:26 +0000 (UTC) Cc: Emacs help To: Marius Hofert Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 29 10:09:22 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RK3yi-0006UA-HQ for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Oct 2011 10:09:20 +0200 Original-Received: from localhost ([::1]:35599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK3yh-0001dR-UX for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Oct 2011 04:09:19 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK3yd-0001dB-No for help-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:09:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RK3yc-0005Zp-3J for help-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:09:15 -0400 Original-Received: from out5.smtp.messagingengine.com ([66.111.4.29]:54671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RK3yb-0005Zk-Pu for help-gnu-emacs@gnu.org; Sat, 29 Oct 2011 04:09:13 -0400 Original-Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 092C720655; Sat, 29 Oct 2011 04:09:13 -0400 (EDT) Original-Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 29 Oct 2011 04:09:13 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=6v5FHJVX6apIIouSwqdSYnBmJk4=; b=F2TaaAlahEftFJxKJbW9tQM0wpid 9Fomq6EMP4dwgx2/Z105f88PW/EY26TZdHfjFmQmrNVe9EE84nWfuJa6JsjveZoZ h60FZ5rGtgIUPrtasx2aGVUjWX9hXwwvPMxgrMVmFr8Bjw+3zowya6R7Tscg8Yew F1w9PL+r5CYPAf4= X-Sasl-enc: XhMqjK+AiNxaVRBtA1ndqGAtyX/IBdx+qf/C7itz5feK 1319875752 Original-Received: from thinkpad.tsdh.de (91-67-169-145-dynip.superkabel.de [91.67.169.145]) by mail.messagingengine.com (Postfix) with ESMTPSA id 030914833D9; Sat, 29 Oct 2011 04:09:11 -0400 (EDT) In-Reply-To: <0086A532-E15A-4BDF-B4E4-9F5F9EB7682F@math.ethz.ch> (Marius Hofert's message of "Sat, 29 Oct 2011 09:58:07 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82701 Archived-At: Marius Hofert writes: Hi Marius, > (setq gnus-select-method '(nnnil)) > (setq user-mail-address "address@hidden") > (setq user-full-name "My Name") > > (setq gnus-secondary-select-methods > '((nnimap "address@hidden"; primary email account > (nnimap-address "mail.uni.edu"); mail server address > (nnimap-server-port 993); port > (nnimap-authenticator login); authentication method > ) > (nnimap "address@googlemail.com"; secondary email account > (nnimap-address "imap.googlemail.com"); mail server address > (nnimap-server-port 993); port > (nnimap-authenticator login); authentication method > )) > ) I'd probably start with just these gnus-secondary-s-m '((nnimap "address@hidden" (nnimap-address "mail.uni.edu")) (nnimap "gmail" (nnimap-address "..."))) Most probably, that'll just work. Gnus will automatically determine what's the most secure connection for the servers and use that. > 3) ~/.authinfo (as before): > machine mail.uni.edu login mylogin port 993 > machine imap.googlemail.com login address@googlemail.com port 993 Don't specify a port if not needed. And add a "force yes" as last thing in each line. > 4) If I start Gnus with M-x gnus, I see: > imap: Connecting to mail.uni.edu # I see this for about 2min; can't do anything else with emacs during that time > imap: Connecting to imap.googlemail.com # I see this for as long as I watch... The only chance to proceed is to hit C-g Probably, because you say Gnus to use port 993 with SSL while the servers prefer something else. As said, start with a minimal setup. > Q5: I have a file contacts.org containing all contacts in > "org-contacts"-form. My .emacs contains: > (setq load-path (cons "~/.emacs.d/contacts" load-path)) > (require 'org-contacts) > (custom-set-variables > '(org-contacts-files '("~/org/contacts.org"))) > [I found this here: > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg37143.html] As > mentioned on http://julien.danjou.info/org-contacts.html, this allows > for completion of addresses. I tried it, but I can't complete > addresses defined in contacts.org. What else do I have to specify? You need to call (org-contacts-gnus-insinuate) in your ~/.emacs or ~/.gnus.el to make that working. Bye, Tassilo -- (What the world needs (I think) is not (a Lisp (with fewer parentheses)) but (an English (with more.))) Brian Hayes, http://tinyurl.com/3y9l2kf