From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69762 Path: news.gmane.org!not-for-mail From: Mario Peter Newsgroups: gmane.emacs.gnus.general Subject: Problems with imap and davmail Date: Tue, 29 Jun 2010 22:30:07 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1277843471 23439 80.91.229.12 (29 Jun 2010 20:31:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2010 20:31:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18153@lists.math.uh.edu Tue Jun 29 22:31:09 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OThSW-0000zD-Jn for ding-account@gmane.org; Tue, 29 Jun 2010 22:31:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OThRb-0003sN-Hd; Tue, 29 Jun 2010 15:30:11 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OThRa-0003s5-1Q for ding@lists.math.uh.edu; Tue, 29 Jun 2010 15:30:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OThRY-0005eU-NV for ding@lists.math.uh.edu; Tue, 29 Jun 2010 15:30:09 -0500 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OThRX-0005pZ-00 for ; Tue, 29 Jun 2010 22:30:08 +0200 Original-Received: by bwz7 with SMTP id 7so24944bwz.17 for ; Tue, 29 Jun 2010 13:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=9xr0+2ZumEp0vgUJgKoqMVhoDhhKNGSOcCIGPQ6zyQM=; b=kIYvcphWWFpf7KequsaqBAokZtaP15vo4pQI7uB+zmH2csqzpMS4N5u6k9yuIkN1h3 QAz4t9nXxIYl+dyVC204JPbwGqEryay/ToYzI5t1oKJ12abSTPAOgsJpD3wcspDflRJI SrNcNvG2PmR0kjV0Bc6eQOtq+1NqsIZmWI+WE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kQ63O/NPdkU//BanHLLP9Ismh56Tya0U7xIr0CSE7TJ2y+myPwJuY+A0FNL9pkX2RS w3oJ0066JWmN2ZtYuH9WHzsChiQpOT9tp/mzFFDGkBGVSJagTIs2ZUQBAzJnWrJfRQ6c EHYzjUpeKKVZMmyeV0UhIsEmt+96e1X2Hu6EE= Original-Received: by 10.204.79.195 with SMTP id q3mr5247280bkk.53.1277843407368; Tue, 29 Jun 2010 13:30:07 -0700 (PDT) Original-Received: by 10.204.2.73 with HTTP; Tue, 29 Jun 2010 13:30:07 -0700 (PDT) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69762 Archived-At: 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" #) (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" #) 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