Gnus development mailing list
 help / color / mirror / Atom feed
From: Mario Peter <empee0@googlemail.com>
To: ding@gnus.org
Subject: Problems with imap and davmail
Date: Tue, 29 Jun 2010 22:30:07 +0200	[thread overview]
Message-ID: <AANLkTimWcUwxIx-M9QnMW1ZizbbyqzuZaOQV3kaWf59C@mail.gmail.com> (raw)

Hi everybody,

after 10 years of happly using gnus in our firm i'm now forced to use
davmail to get imap access to our exchange server :-(( . Unfortunally
it seems not to be as so easy as I thought, all try's to get an active
list of the mailbox get failed. My setup is quite simple (gnus is
recent from git)  :
------
(setq  gnus-secondary-select-methods
      '( ....
        (nnimap "localhost"
                (nnimap-server-address "localhost")
                (nnimap-server-port 1143))
      ....
------
I get authenticated without problems:

----
* OK [CAPABILITY IMAP4REV1 AUTH=LOGIN] IMAP4rev1 DavMail server ready
9 NOOP
9 BAD command authentication required
10 LOGIN "user" "pass"
10 OK Authenticated
11 NOOP
11 OK NOOP completed
-----

thats all. other imap accounts start at this point with LIST "" "*%"
.   The nnimap output is as follows:
-----
======================================================================
1 -> nnimap-server-opened: server="localhost"
1 <- nnimap-server-opened: t
======================================================================
1 -> nnimap-request-list: server="localhost"
| 2 -> nnimap-possibly-change-server: server="localhost"
| 2 <- nnimap-possibly-change-server: " *nnimap* localhost"
| 2 -> nnimap-before-find-minmax-bugworkaround:
| 2 <- nnimap-before-find-minmax-bugworkaround: t
| 2 -> nnimap-pattern-to-list-arguments: pattern="*"
| 2 <- nnimap-pattern-to-list-arguments: ((nil . "*"))
---

And here is what gnus says when entering the server in server buffer
(look at the 'agent-min' value for imap-mailbox-put...):
-----
Debugger entered--Lisp error:
(error "Imap-mailbox-data is nil, prop list value nil mailbox agent-min
   buffer  *nnimap* localhost")
 signal(error ("Imap-mailbox-data is nil, prop list value nil mailbox
   agent-min buffer  *nnimap* localhost"))
error("Imap-mailbox-data is nil, prop %s value %s mailbox %s buffer
  %s" list nil "agent-min" #<buffer  *nnimap* localhost>)
  (if imap-mailbox-data (put (intern ... imap-mailbox-data) propname
  value) (error "Imap-mailbox-data is nil, prop %s value %s mailbox %s
  buffer %s" propname value mailbox (current-buffer)))
(save-current-buffer (set-buffer (or buffer ...)) (if
  imap-mailbox-data (put ... propname value) (error "Imap-mailbox-data
  is nil, prop %s value %s mailbox %s buffer %s" propname value mailbox
  ...)) t)
(with-current-buffer (or buffer (current-buffer)) (if imap-mailbox-data
  (put ... propname value) (error "Imap-mailbox-data is nil, prop %s value
  %s mailbox %s buffer %s" propname value mailbox ...)) t)
  imap-mailbox-put(list nil "agent-min")
 (lambda (mailbox) (imap-mailbox-put (quote list) nil mailbox))("agent-min")
   funcall((lambda (mailbox) (imap-mailbox-put (quote list) nil mailbox))
   "agent-min")
 (cons (funcall func (if mailbox-decoder ... ...)) result)
 (setq result (cons (funcall func ...) result))
 (push (funcall func (if mailbox-decoder ... ...)) result)
 (lambda (s) (push (funcall func ...) result))(agent-min)
 mapatoms((lambda (s) (push (funcall func ...) result)) nil)
 (let (result) (mapatoms (lambda ... ...) imap-mailbox-data) result)
 (save-current-buffer (set-buffer (or buffer ...)) (let (result)
(mapatoms ... imap-mailbox-data) result))
 (with-current-buffer (or buffer (current-buffer)) (let (result)
(mapatoms ... imap-mailbox-data) result))
 imap-mailbox-map-1((lambda (mailbox) (imap-mailbox-put (quote list)
nil mailbox)))
 (save-current-buffer (set-buffer (or buffer ...)) (when (and
add-delimiter ...) (imap-send-command-wait ...)) (imap-mailbox-map-1
(lambda ... ...)) (when (imap-ok-p ...) (let ... ... ...)))
 (with-current-buffer (or buffer (current-buffer)) (when (and
add-delimiter ...) (imap-send-command-wait ...)) (imap-mailbox-map-1
(lambda ... ...)) (when (imap-ok-p ...) (let ... ... ...)))
 imap-mailbox-list("*" nil)
 ad-Orig-nnimap-request-list("localhost")
 nnimap-request-list("localhost")
 gnus-request-list((nnimap "localhost" (nnimap-server-address
"localhost") (nnimap-server-port 1143)))
 gnus-browse-foreign-server("nnimap:localhost" #<buffer *Server*>)
 gnus-server-read-server("nnimap:localhost")
 call-interactively(gnus-server-read-server nil nil)
--------

The davmail setup seems to be ok, because thunderbird works perfectly.

Is there any idea what goes wrong here?  Thanks in advance for looking
on this !!!!!

Mario Peter



             reply	other threads:[~2010-06-29 20:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-29 20:30 Mario Peter [this message]
2010-06-29 20:43 ` Adam Sjøgren
2010-06-29 21:12   ` Mario Peter
2010-10-18 20:20 ` K. Adam Christensen
2010-10-31 22:02   ` Mario Peter
2011-12-20 15:01     ` Martin Gross

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=AANLkTimWcUwxIx-M9QnMW1ZizbbyqzuZaOQV3kaWf59C@mail.gmail.com \
    --to=empee0@googlemail.com \
    --cc=ding@gnus.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).