| From | Sent On | Attachments |
|---|---|---|
| Jeff Grossman | Aug 5, 2006 8:08 pm | |
| Jay Lee | Aug 6, 2006 2:57 pm | |
| Jeff Grossman | Aug 6, 2006 5:09 pm | |
| Jay Lee | Aug 6, 2006 5:20 pm | |
| Jeff Grossman | Aug 6, 2006 6:07 pm | |
| Sam Varshavchik | Aug 6, 2006 6:20 pm | |
| Jeff Grossman | Aug 6, 2006 6:29 pm | |
| Sam Varshavchik | Aug 6, 2006 8:03 pm | |
| Jeff Grossman | Aug 6, 2006 8:17 pm | |
| William Hue | Aug 7, 2006 10:15 am | |
| Jeff Grossman | Aug 7, 2006 6:51 pm |
| Subject: | Re: [courier-users] Windows Mobile 5.0 and Courier Imap | |
|---|---|---|
| From: | Sam Varshavchik (mrs...@courier-mta.com) | |
| Date: | Aug 6, 2006 6:20:49 pm | |
| List: | net.sourceforge.lists.courier-users | |
Jeff Grossman writes:
"Jay Lee" <jl...@pbu.edu> wrote:
On Sun, August 6, 2006 8:09 pm, Jeff Grossman wrote:
"Jay Lee" <jl...@pbu.edu> wrote:
On Sat, August 5, 2006 11:09 pm, Jeff Grossman wrote:
I just got a Motorola Q phone which uses the Windows Mobile 5.0 software. I have setup my e-mail to connect via IMAP4 to my server. I am using Courier-IMAP 4.1.2 on this server. If I delete e-mail messages on the mobile device, they do not delete when I do a send and receive. Then the next time I do a send and receive those e-mail messages get downloaded again as new.
You should turn on debugging and post a session log but I'm willing to bet the issue is with MS's IMAP implementation.
I looked all through the documentation on the Courier IMAP webpage, but could not find how to turn on debugging. Would you be able to tell me how that is accomplished?
Set IMAPDEBUGFILE=debug.txt in etc/courier/imapd and restart courier. In your homedir or maildir (I forget which) a debug.txt will be created with the text of all conversation between the imap client and server. For best results, keep the conversation to a minimum between the pocket pc and courier. Post the relevant parts here.
Okay, here is the file. I hope I don't remove anything that is needed. The file is pretty long.
Here is an initial Send/Receive on the mobile device:
WRITE: A4 OK LOGIN Ok.
READ: ATOM: A5 READ: ATOM: NAMESPACE READ: EOL WRITE: * NAMESPACE (("INBOX." ".")) NIL (("#shared." ".")("shared." ".")) A5 OK NAMESPACE completed.
READ: ATOM: A6 READ: ATOM: SELECT READ: QUOTED_STRING: Inbox READ: EOL WRITE: * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited * 69 EXISTS * 2 RECENT * OK [UIDVALIDITY 1137263532] Ok * OK [MYRIGHTS "acdilrsw"] ACL A6 OK [READ-WRITE] Ok
READ: ATOM: A7 READ: ATOM: UID READ: ATOM: COPY READ: NUMBER: 8699 READ: QUOTED_STRING: Deleted Items WRITE: A7 NO Error in IMAP command received by server.
This is a bug in your IMAP client. The IMAP client is trying to copy messages to a folder that does not exist, and whose name is not even a valid folder name. "Deleted Items" is an illegal folder name in Courier-IMAP. The previous command clearly shows that Courier-IMAP informed the IMAP client that all personal folder names must begin with "INBOX.". The IMAP client ignored that and attempted to access a folder with an illegal name.





