Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Two accounts on the same IMAP server
@ 2007-07-25 18:14 Leo
  0 siblings, 0 replies; only message in thread
From: Leo @ 2007-07-25 18:14 UTC (permalink / raw)
  To: info-gnus-english

Dear all,

Now I run into a problem as I was given a second account on a imap
server. They serve different purposes so that forward emails from one to
another is not desirable.

Now If I send an email when in "nnimap+Account2", it fails with error:

,----
| 550 Sender address user2 does not match authenticated user user1
`----

Any ideas? Or is this a bug?

My config is as follows:

(setq gnus-select-method '(nntp "news.gmane.org")
      gnus-secondary-select-methods
      '((nnml "")
        (nnimap "Account1"
                (nnimap-server-address "imap.example.com")
                (nnimap-stream ssl)
                (nnir-search-engine imap))
        (nnimap "Account2"
                (nnimap-server-address "imap.example.com")
                (nnimap-stream ssl)
                (nnir-search-engine imap))))

(setq gnus-posting-styles
      '(("^nnimap\\+Account1"
         (name "User1")
         (address "user1@example.com"))
        ("^nnimap\\+Account2"
         (name "User2")
         (address "user2@example.com"))))

,----[ .authinfo ]
| machine Account1 login user1 password xxxxx
| machine hermes login user2 password xxxxx
| machine smtp.example.com login user1 password xxxxx
`----

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-25 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-25 18:14 Two accounts on the same IMAP server Leo

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).