Gnus development mailing list
 help / color / mirror / Atom feed
* IMAP: multiple accounts on same server
@ 2003-11-11 10:24 Ian Fitchet
  2003-11-11 16:03 ` Reiner Steib
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Fitchet @ 2003-11-11 10:24 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: IMAP: multiple accounts on same server
  2003-11-11 10:24 IMAP: multiple accounts on same server Ian Fitchet
@ 2003-11-11 16:03 ` Reiner Steib
  2003-11-11 18:56   ` Ian Fitchet
  0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2003-11-11 16:03 UTC (permalink / raw)


On Tue, Nov 11 2003, Ian Fitchet wrote:

>  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?

In Gnus 5.10.3 (current CVS), you can do the following:

,----[ ~/.authinfo ]
| machine fm  login some-long-login@fm.invalid
| machine bar login some-long-login@bar.invalid
`----

,----[ From `G e' buffers: ]
| ;;; Editing the select method for `nnimap+fm:INBOX'.
| (nnimap "fm"
|       (nnimap-address "fastmail.fm")
|       (nnimap-directory "~/Mail/var/nnimap/fm"))
|--------------------
| ;;; Editing the select method for `nnimap+bar:INBOX'.
| (nnimap "bar"
|       (nnimap-address "fastmail.fm")
|       (nnimap-directory "~/Mail/var/nnimap/bar"))
`----

If you don't like to try the CVS version or wait for 5.10.3, you 
may use two different `nnimap-authinfo-file's.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: IMAP: multiple accounts on same server
  2003-11-11 16:03 ` Reiner Steib
@ 2003-11-11 18:56   ` Ian Fitchet
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Fitchet @ 2003-11-11 18:56 UTC (permalink / raw)


Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:

> In Gnus 5.10.3 (current CVS), you can do the following:

[...things that will work for me deleted...]

 Well, shame on me for staying out of touch.  Time to don the old
 September Gnus t-shirt and upgrade!

Cheers,

        Ian



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-11 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-11 10:24 IMAP: multiple accounts on same server Ian Fitchet
2003-11-11 16:03 ` Reiner Steib
2003-11-11 18:56   ` Ian Fitchet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).