From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83233 Path: news.gmane.org!not-for-mail From: Enrico Schumann Newsgroups: gmane.emacs.gnus.general Subject: Re: Still pounding nnimap and odd gmail behavior Date: Mon, 27 May 2013 09:22:21 +0200 Message-ID: <87r4gsnaz6.fsf@enricoschumann.net> References: <87zjvmk4zh.fsf@newsguy.com> <877giqxhhf.fsf@ucl.ac.uk> <8761y9v1t6.fsf@newsguy.com> <87k3mooqm5.fsf@enricoschumann.net> <87vc66yb4i.fsf@newsguy.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1369643394 11815 80.91.229.3 (27 May 2013 08:29:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 May 2013 08:29:54 +0000 (UTC) Cc: ding@gnus.org To: Harry Putnam Original-X-From: ding-owner+M31499@lists.math.uh.edu Mon May 27 10:29:53 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UgsoT-0003Ou-9k for ding-account@gmane.org; Mon, 27 May 2013 10:29:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Ugsma-0003iO-Rx; Mon, 27 May 2013 03:27:56 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1UgrlQ-0003Sh-NA for ding@lists.math.uh.edu; Mon, 27 May 2013 02:22:40 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UgrlL-0001Ge-Ck for ding@lists.math.uh.edu; Mon, 27 May 2013 02:22:40 -0500 Original-Received: from www231.your-server.de ([188.40.28.11]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UgrlJ-0005hZ-Ix for ding@gnus.org; Mon, 27 May 2013 09:22:33 +0200 Original-Received: from [78.46.5.204] (helo=sslproxy02.your-server.de) by www231.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1UgrlE-0003go-2n; Mon, 27 May 2013 09:22:28 +0200 Original-Received: from [85.1.202.116] (helo=es-Latitude-E6520.enricoschumann.net) by sslproxy02.your-server.de with esmtpa (Exim 4.72) (envelope-from ) id 1UgrlA-0000Uw-NS; Mon, 27 May 2013 09:22:24 +0200 In-Reply-To: <87vc66yb4i.fsf@newsguy.com> (Harry Putnam's message of "Sat, 25 May 2013 17:59:09 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Authenticated-Sender: es@enricoschumann.net X-Virus-Scanned: Clear (ClamAV 0.97.6/17272/Sun May 26 23:39:43 2013) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83233 Archived-At: On Sat, 25 May 2013, Harry Putnam writes: > Enrico Schumann writes: > >> Yes. In my setup, I have several IMAP accounts set up like so: >> >> (add-to-list 'gnus-secondary-select-methods >> '(nnimap "IMAP1" >> (nnimap-address "xxxx.de") >> ;....)) >> (add-to-list 'gnus-secondary-select-methods >> '(nnimap "IMAP2" >> (nnimap-address "xxxx.de") >> ;....)) >> >> So the names "IMAP1", "IMAP2" &c. of these servers are not hostnames >> (the addresses are specified via 'nnimap-address'). >> >> In the .authinfo file, the 'machine' field gets the name of the server, >> ie, >> >> machine IMAP1 login xxx .... >> machine IMAP2 login zzz .... > > > > I'll admit I'm still a bit confused here. Isn't IMAP1 IMAP2 here > intended to mean the user ID?, in the secondary-select lines? > > But in the .authinfo lines you call them 'servers' so are there > actually imap servers named after the user IDs? > > I think others are more knowdledgeable than I about Gnus terminology. IMAP1 and IMAP2 are server names as far as Gnus is concerned. But for Gnus, a server is not necessarily one specific physical server. From the manual (chapter 6, "Select Methods"): "[...] a select method is a list where the first element says what back end to use (e.g., nntp, nnspool, nnml) and the second element is the server name. [...] One could say that a select method defines a virtual server---so we do just that (see section 6.1 Server Buffer)." So every email account that is set up in the way described above corresponds to one server for Gnus. In the *Server* buffer, which you reach by pressing ^ in the *Group* buffer, you should see something like this, then: {nnimap:IMAP1} (opened) {nnimap:IMAP2} (opened) It is then up to the backend (nnimap in this case) to connect to the actual, physical server. See the description of nnimap in the manual, also chapter 6. -- Enrico Schumann Lucerne, Switzerland http://enricoschumann.net