info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two accounts on the same IMAP server


From: Leo
Subject: Two accounts on the same IMAP server
Date: Wed, 25 Jul 2007 19:14:10 +0100
User-agent: Gnus/5.110007 Emacs/23.0.0 (20070723) Fedora 7 (gnu/linux)

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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]