Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Leo <sdl.web@gmail.com>
To: info-gnus-english@gnu.org
Subject: Two accounts on the same IMAP server
Date: Wed, 25 Jul 2007 19:14:10 +0100	[thread overview]
Message-ID: <m2bqe05p1p.fsf@cam.ac.uk> (raw)

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	other threads:[~2007-07-25 18:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2bqe05p1p.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).