Gnus development mailing list
 help / color / mirror / Atom feed
* Problems with imap and davmail
@ 2010-06-29 20:30 Mario Peter
  2010-06-29 20:43 ` Adam Sjøgren
  2010-10-18 20:20 ` K. Adam Christensen
  0 siblings, 2 replies; 6+ messages in thread
From: Mario Peter @ 2010-06-29 20:30 UTC (permalink / raw)
  To: ding

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



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

end of thread, other threads:[~2011-12-20 15:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-29 20:30 Problems with imap and davmail Mario Peter
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

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