Hello all,

I have had a problem for a while now downloading binary attachments
(text/plain and text/html have NOT been a problem).  The problem seems to be
during the conversation with the IMAP server.  SM is issuing the command:
FETCH 21 BODY[2]

When the command should be:
FETCH 6 BODY[2]


"6" is the correct message id as I have tested this by having several
conversations with my imap server through a telnet session and SM error
messages like (HTML striped) "ERROR : Unknown imap response Query: FETCH 21
BODY[2] Server responded:" (NOTE: there is no text after " Server
responded:").  A good and bad conversation is below.

I need help to solve this problem.   More and more people are staring to
rely on this SM server.


Here is my set up:
SquirrelMail: 1.4.3a-0.e3.1
Courier-imap: courier-imap-3.0.8-1.3ES.i386
Courier-imap auth: courier-imap-mysql-3.0.8-1.3ES.i386
PHP: 4.3.2-8
Postfix: 2.0.19
Apache: 2.0.46

Tested browsers Mozilla 1.5, IE 6.0.29 on WinXP SP2

Thank you for your time.

Sincerely,

David T. Wilson



Here is a good conversation:
telnet localhost 143

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP
ready. Copyright 1998-2004 Double Precision, Inc.  See COPYING for
distribution information.
a001 LOGIN <username> <password>
a001 OK LOGIN Ok.
a001 SELECT INBOX* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited
* 7 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1083039294] Ok
* OK [MYRIGHTS "acdilrsw"] ACL
a001 OK [READ-WRITE] Ok
a001 STATUS INBOX (UIDNEXT MESSAGES)* STATUS "INBOX" (MESSAGES 7 UIDNEXT 27)
a001 OK STATUS Completed.
a001 FETCH 6 BODY[2]
<snip a bunch a encoded characters>
a001 OK FETCH completed.
a001 logout* BYE Courier-IMAP server shutting down
a001 OK LOGOUT completed


Here is a bad conversation:
telnet localhost 143

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP
ready. Copyright 1998-2004 Double Precision, Inc.  See COPYING for
distribution information.
a001 LOGIN <username> <password>
a001 OK LOGIN Ok.
a001 SELECT INBOX* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited
* 7 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1083039294] Ok
* OK [MYRIGHTS "acdilrsw"] ACL
a001 OK [READ-WRITE] Ok
a001 STATUS INBOX (UIDNEXT MESSAGES)* STATUS "INBOX" (MESSAGES 7 UIDNEXT 27)
a001 OK STATUS Completed.
a001 FETCH 25 BODY[2]
* NO Invalid message sequence number: 25
a001 OK FETCH completed.
a001 logout
* BYE Courier-IMAP server shutting down
a001 OK LOGOUT completed





-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to