* 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
* Re: Problems with imap and davmail
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
1 sibling, 1 reply; 6+ messages in thread
From: Adam Sjøgren @ 2010-06-29 20:43 UTC (permalink / raw)
To: ding
On Tue, 29 Jun 2010 22:30:07 +0200, Mario wrote:
> 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 :-((
Just for reference: I use IMAP at work as a glorified POP-server, i.e. I
simply pull down emails from Microsoft Exchange into my local
nnml-groups via IMAP.
This is descibed in the manual here: http://gnus.org/manual/gnus_178.html ("imap").
This way I don't have to interact much with the IMAP-server; it works
fine for me.
(If you need to use other clients once in a while, this may not be a
good solution, I just thought I'd mention it as a way to live with
Microsoft Exchange).
Best regards,
Adam
--
"My internal clock is on Tokyo time." Adam Sjøgren
asjo@koldfront.dk
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with imap and davmail
2010-06-29 20:43 ` Adam Sjøgren
@ 2010-06-29 21:12 ` Mario Peter
0 siblings, 0 replies; 6+ messages in thread
From: Mario Peter @ 2010-06-29 21:12 UTC (permalink / raw)
To: ding
2010/6/29 Adam Sjøgren <asjo@koldfront.dk>:
> On Tue, 29 Jun 2010 22:30:07 +0200, Mario wrote:
>
>> 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 :-((
>
> Just for reference: I use IMAP at work as a glorified POP-server, i.e. I
> simply pull down emails from Microsoft Exchange into my local
> nnml-groups via IMAP.
I've thought about using fetchmail too, if there is no other solution, i would
do it so. But I was used to have the mails on the exchange server for a
while before 'expiring' them to my local spool. I would prefer this way,
if possible.
Regards, Mario
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with imap and davmail
2010-06-29 20:30 Problems with imap and davmail Mario Peter
2010-06-29 20:43 ` Adam Sjøgren
@ 2010-10-18 20:20 ` K. Adam Christensen
2010-10-31 22:02 ` Mario Peter
1 sibling, 1 reply; 6+ messages in thread
From: K. Adam Christensen @ 2010-10-18 20:20 UTC (permalink / raw)
To: ding
Mario Peter <empee0 <at> googlemail.com> writes:
>
> 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) :
>
Hi Mario,
Did you ever find a solution to this problem? I have run into this same issue
myself.
Thank you,
- Adam
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with imap and davmail
2010-10-18 20:20 ` K. Adam Christensen
@ 2010-10-31 22:02 ` Mario Peter
2011-12-20 15:01 ` Martin Gross
0 siblings, 1 reply; 6+ messages in thread
From: Mario Peter @ 2010-10-31 22:02 UTC (permalink / raw)
To: ding
On Oct 18 2010, 22:20, K. Adam Christensen <pope@shifteleven.com> wrote:
> Mario Peter <empee0 <at> googlemail.com> writes:
>>
>> 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) :
>
> Did you ever find a solution to this problem? I have run into this same issue
> myself.
yes, i use the rewritten nnimap backend and this works very well.
Thanks for your work Lars!
Mario
--
Mario Peter
de,pl,en
http://www.mpeter.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with imap and davmail
2010-10-31 22:02 ` Mario Peter
@ 2011-12-20 15:01 ` Martin Gross
0 siblings, 0 replies; 6+ messages in thread
From: Martin Gross @ 2011-12-20 15:01 UTC (permalink / raw)
To: ding
Hi Mario
Since I am getting the same problem, I would like to try your solution, but am
not as experienced as you are, so could you please explaine a little how to
update the nnimap back-end?
Thank you very much in advance!
Martin
^ 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).