From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54779 Path: main.gmane.org!not-for-mail From: Ian Fitchet Newsgroups: gmane.emacs.gnus.general Subject: IMAP: multiple accounts on same server Date: Tue, 11 Nov 2003 10:24:42 +0000 Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068564077 16897 80.91.224.253 (11 Nov 2003 15:21:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2003 15:21:17 +0000 (UTC) Original-X-From: ding-owner+M3320@lists.math.uh.edu Tue Nov 11 16:21:15 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJaKR-0007aY-00 for ; Tue, 11 Nov 2003 16:21:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AJaJv-0004gq-00; Tue, 11 Nov 2003 09:20:43 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AJVhZ-000493-00 for ding@lists.math.uh.edu; Tue, 11 Nov 2003 04:24:49 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id D42933A005B for ; Tue, 11 Nov 2003 04:24:48 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AJVhY-0007z4-00 for ; Tue, 11 Nov 2003 11:24:48 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 39 Original-NNTP-Posting-Host: nildram-gw.lunanbay.com Original-X-Trace: quimby.gnus.org 1068546288 30693 62.3.223.20 (11 Nov 2003 10:24:48 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 11 Nov 2003 10:24:48 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.1 (usg-unix-v) Cancel-Lock: sha1:xqUTqFNho5fUDli3GqJBrFHzR4c= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54779 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54779 Hi, I'm using Gnus v5.10.2 and have been playing with multiple accounts on my IMAP server. My problem is that I've either misread the manual or can't access multiple accounts from the same IMAP server. If I set (setq gnus-secondary-select-methods '((nnimap "imap.first.tld") (nnimap "imap.first.tld"))) it obviously fails, well, it's not obvious but I guess Gnus reads that second nnimap entry as a cut'n'paste typo and ignores it. If I set (setq gnus-secondary-select-methods '((nnimap "imap.first.tld") (nnimap "imap-two" (nnimap-address "imap.first.tld")))) Gnus, cleverly, determines that "imap-two" is just a reworking of the first select-method and, again, ignores the second entry. However, having a second domain up my sleeve which is set up to have the same entries as the first domain, if I set (setq gnus-secondary-select-methods '((nnimap "imap.first.tld") (nnimap "imap-two" (nnimap-address "imap.second.tld")))) It works. I get to login twice, can be two different users and select folders from both accounts. Actually, it prompts me to login to "imap.first.tld" twice but we'll assume that's a DNS lookup issue. So, is there a neat way to say I want to login to an IMAP server to access multiple accounts without buying a domain name per account? Cheers, Ian