Forum Post
Index > Scribe > New User: IMAP Errors

Author/Date New User: IMAP Errors
gp
12/09/2008 11:21am
Hi,

I'm trying out i.scribe and would like to get IMAP to work. I'm currently using i.scribe 1.90 test5. I'm trying to get connect to the exchange at work. It successfully makes the connection and I do get the folders, but after that, Below is a posting of the log. Its been truncated as I have a lot of folders and subfolders. But basically it gives the same error over and over.

* OK [UIDVALIDITY 1867] UIDVALIDITY value
* OK [UIDNEXT 3551] The next unique identifier value
A0008 OK [READ-WRITE] SELECT completed.
A0009 SELECT "Test"
* 0 EXISTS
* 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
* OK [UIDVALIDITY 54481] UIDVALIDITY value
* OK [UIDNEXT 2] The next unique identifier value
A0009 OK [READ-WRITE] SELECT completed.
A0010 SELECT "Test\One"
A0010 NO "Test\One" doesn't exist.
A0011 SELECT "Test\Two"
Error 5: error:00000005:lib(0):func(0):DH lib
Failed to write data to socket.
Error 1: error:00000001:lib(0):func(0):reason(1)
Failed to write data to socket.
Error 1: error:00000001:lib(0):func(0):reason(1)
gp
12/09/2008 10:00pm
Ok figured out the reason but is there a fix? Or is this a known issue. Basically the path on the Exchange server is like Unix with a "/" instead of Windows "\". Scribe seems to use "\". Can I change this behavior?
fret
12/09/2008 10:10pm
The folder separator character is returned in the response to the "LIST" command which would appear near the top of the connection log.

If the server returns the wrong character there, then Scribe or any other client is not going to work. Maybe find that command and show me what the server returns afterwards... just post the first page of the log?
gp
12/09/2008 11:38pm
Hi fret,

Thanks for the help. I'm really interested in trying to make i.scribe work. Below is a posting of the log.

A0001 CAPABILITY
* OK Microsoft Exchange Server 2007 IMAP4 service ready
* CAPABILITY IMAP4 IMAP4rev1 LOGINDISABLED STARTTLS IDLE NAMESPACE LITERAL+
A0001 OK CAPABILITY completed.
A0002 STARTTLS
A0002 OK Begin TLS negotiation now.
Session is now using SSL
/C=US/ST=New York/L=New York/O=xxxx Inc./OU=Operations/CN=*.xxxx.net
A0003 AUTHENTICATE DIGEST-MD5
A0003 BAD Command Argument Error. 11
A0004 AUTHENTICATE PLAIN
A0004 BAD Command Argument Error. 11
A0005 LOGIN xxxx\gp ********
A0005 OK LOGIN completed.
A0006 LIST "" ""
* LIST (\Noselect \HasChildren) "/" ""
A0006 OK LIST completed.
A0007 LIST "" "*"
* LIST (\Marked \HasNoChildren) "/" Calendar
* LIST (\HasChildren) "/" Tests
* LIST (\Marked \HasNoChildren) "/" Tests/One
* LIST (\Marked \HasNoChildren) "/" Tests/Two
A0007 OK LIST completed.
A0008 SELECT "INBOX"
* 1194 EXISTS
* 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
* OK [UIDVALIDITY 54648] UIDVALIDITY value
* OK [UIDNEXT 20896] The next unique identifier value
A0008 OK [READ-WRITE] SELECT completed.
A0009 FETCH 1 (FLAGS RFC822.HEADER BODY[TEXT])
A0010 FETCH 2 (FLAGS RFC822.HEADER BODY[TEXT])
A0011 FETCH 3 (FLAGS RFC822.HEADER BODY[TEXT])
gp
14/09/2008 2:44am
Hi Fret,

Just installed 1.89 Test 22 and its working fine.
fret
14/09/2008 11:09am
I'll look at the code this week. Most likely it is a small issue.
fret
22/09/2008 9:38am
I can't find any obvious issues in the code base, so I'd have to run it in the debugger with a test Exchange account. I don't suppose you could get one running for me?
Reply