Hi,

I'm involved in a new webmail client [1] using the Ruby on Rails [2] web development framework.

This has been tested with Courier, but I use binc so I'm trying to get it working with binc.

I'd like to know if the attached trace shows a server problem or a client bug.

The final few lines are:

2005-08-02 17:14:00.662560500 31078 > RUBY0020 OK [READ-WRITE] SELECT+
 005-08-02 17:14:00.662650500 31078 >  completed
2005-08-02 17:14:00.671333500 31078 < RUBY0021 SORT+
 005-08-02 17:14:00.711680500 31078 <  (DATE) US-ASCII ALL
005-08-02 17:14:00.711857500 31078 > RUBY0021 NO The command "SORT" is unsupported in this state.


There is another problem in that it can't handle "virtual" folders, i.e. IMAP folders that can not store messages but are simply place-holders in the IMAP folder hierachy. Again, I don't know whether this is a client or server problem (most likely client as Outlook and Thunderbird both handle these type of folders correctly.

Cheers,

R.
--
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?
2005-08-02 17:13:59.345995500 31078 0 [EMAIL PROTECTED]@127.0.0.1:] <[EMAIL 
PROTECTED]> authenticated
2005-08-02 17:13:59.346149500 31078 > RUBY0001 OK AUTHENTICATE completed
 
2005-08-02 17:13:59.653349500 31078 < RUBY0002 LIST+
2005-08-02 17:13:59.694091500 31078 <  "" "*"
 
2005-08-02 17:13:59.695300500 31078 > * LIST (\Unmarked) "/" "INBOX"
 
2005-08-02 17:13:59.695305500 31078 > * LIST (\Unmarked) "/" "Spam"
 
2005-08-02 17:13:59.695307500 31078 > * LIST (\Unmarked) "/" "Spam/Misdetected"
 
2005-08-02 17:13:59.695309500 31078 > * LIST (\Unmarked) "/" "Spam/Undetected"
 
2005-08-02 17:13:59.695312500 31078 > RUBY0002 OK LIST completed
 
2005-08-02 17:13:59.705160500 31078 < RUBY0003 SELECT+
2005-08-02 17:13:59.746088500 31078 <  INBOX
 
2005-08-02 17:13:59.746930500 31078 > * 0 EXISTS
 
2005-08-02 17:13:59.746935500 31078 > * 0 RECENT
 
2005-08-02 17:13:59.746984500 31078 > * OK [UIDVALIDITY 1122931542]
 
2005-08-02 17:13:59.746987500 31078 > * OK [UIDNEXT 1] 1 is the next UID
 
2005-08-02 17:13:59.746989500 31078 > * FLAGS (\Answered \Flagged \Deleted 
\Recent \Seen \Draft)
 
2005-08-02 17:13:59.746992500 31078 > * OK [PERMANENTFLAGS (\Answered \Flagged 
\Deleted \Seen \Draft)] Limited
 
2005-08-02 17:13:59.746994500 31078 > RUBY0003 OK [READ-WRITE] SELECT+
2005-08-02 17:13:59.746997500 31078 >  completed
 
2005-08-02 17:13:59.755543500 31078 < RUBY0004 STATUS+
2005-08-02 17:13:59.796093500 31078 <  INBOX (MESSAGES)
 
2005-08-02 17:13:59.796710500 31078 > * STATUS "INBOX" (MESSAGES 0)
 
2005-08-02 17:13:59.796716500 31078 > RUBY0004 OK STATUS completed
 
2005-08-02 17:13:59.826958500 31078 < RUBY0005 STATUS+
2005-08-02 17:13:59.867107500 31078 <  INBOX (UNSEEN)
 
2005-08-02 17:13:59.867787500 31078 > * STATUS "INBOX" (UNSEEN 0)
 
2005-08-02 17:13:59.867790500 31078 > RUBY0005 OK STATUS completed
 
2005-08-02 17:13:59.877366500 31078 < RUBY0006 STATUS+
2005-08-02 17:13:59.918011500 31078 <  INBOX (UNSEEN)
 
2005-08-02 17:13:59.918289500 31078 > * STATUS "INBOX" (UNSEEN 0)
 
2005-08-02 17:13:59.918292500 31078 > RUBY0006 OK STATUS completed
 
2005-08-02 17:13:59.927276500 31078 < RUBY0007 STATUS+
2005-08-02 17:13:59.968005500 31078 <  INBOX (UNSEEN)
 
2005-08-02 17:13:59.968295500 31078 > * STATUS "INBOX" (UNSEEN 0)
 
2005-08-02 17:13:59.968299500 31078 > RUBY0007 OK STATUS completed
 
2005-08-02 17:13:59.978841500 31078 < RUBY0008 SELECT+
2005-08-02 17:14:00.018971500 31078 <  Spam
 
2005-08-02 17:14:00.019698500 31078 > * 0 EXISTS
 
2005-08-02 17:14:00.019702500 31078 > * 0 RECENT
 
2005-08-02 17:14:00.019704500 31078 > * OK [UIDVALIDITY 1122931543]
 
2005-08-02 17:14:00.019706500 31078 > * OK [UIDNEXT 1] 1 is the next UID
 
2005-08-02 17:14:00.019757500 31078 > * FLAGS (\Answered \Flagged \Deleted 
\Recent \Seen \Draft)
 
2005-08-02 17:14:00.019760500 31078 > * OK [PERMANENTFLAGS (\Answered \Flagged 
\Deleted \Seen \Draft)] Limited
 
2005-08-02 17:14:00.019774500 31078 > RUBY0008 OK [READ-WRITE] SELECT+
2005-08-02 17:14:00.019954500 31078 >  completed
 
2005-08-02 17:14:00.028470500 31078 < RUBY0009 STATUS+
2005-08-02 17:14:00.068989500 31078 <  Spam (UNSEEN)
 
2005-08-02 17:14:00.069455500 31078 > * STATUS "Spam" (UNSEEN 0)
 
2005-08-02 17:14:00.069459500 31078 > RUBY0009 OK STATUS completed
 
2005-08-02 17:14:00.078993500 31078 < RUBY0010 STATUS+
2005-08-02 17:14:00.118928500 31078 <  Spam (UNSEEN)
 
2005-08-02 17:14:00.119184500 31078 > * STATUS "Spam" (UNSEEN 0)
 
2005-08-02 17:14:00.119187500 31078 > RUBY0010 OK STATUS completed
 
2005-08-02 17:14:00.128380500 31078 < RUBY0011 STATUS+
2005-08-02 17:14:00.168921500 31078 <  Spam (UNSEEN)
 
2005-08-02 17:14:00.169212500 31078 > * STATUS "Spam" (UNSEEN 0)
 
2005-08-02 17:14:00.169218500 31078 > RUBY0011 OK STATUS completed
 
2005-08-02 17:14:00.179884500 31078 < RUBY0012 SELECT+
2005-08-02 17:14:00.219952500 31078 <  Spam/Misdetected
 
2005-08-02 17:14:00.220915500 31078 > * 0 EXISTS
 
2005-08-02 17:14:00.220918500 31078 > * 0 RECENT
 
2005-08-02 17:14:00.220920500 31078 > * OK [UIDVALIDITY 1122931543]
 
2005-08-02 17:14:00.220922500 31078 > * OK [UIDNEXT 1] 1 is the next UID
 
2005-08-02 17:14:00.220924500 31078 > * FLAGS (\Answered \Flagged \Deleted 
\Recent \Seen \Draft)
 
2005-08-02 17:14:00.220927500 31078 > * OK [PERMANENTFLAGS (\Answered \Flagged 
\Deleted \Seen \Draft)] Limited
 
2005-08-02 17:14:00.220930500 31078 > RUBY0012 OK [READ-WRITE] SELECT+
2005-08-02 17:14:00.220932500 31078 >  completed
 
2005-08-02 17:14:00.230466500 31078 < RUBY0013 STATUS+
2005-08-02 17:14:00.270886500 31078 <  Spam/Misdetected (UNSEEN)
 
2005-08-02 17:14:00.271421500 31078 > * STATUS "Spam/Misdetected" (UNSEEN 0)
 
2005-08-02 17:14:00.271425500 31078 > RUBY0013 OK STATUS completed
 
2005-08-02 17:14:00.280607500 31078 < RUBY0014 STATUS+
2005-08-02 17:14:00.320851500 31078 <  Spam/Misdetected (UNSEEN)
 
2005-08-02 17:14:00.321121500 31078 > * STATUS "Spam/Misdetected" (UNSEEN 0)
 
2005-08-02 17:14:00.321124500 31078 > RUBY0014 OK STATUS completed
 
2005-08-02 17:14:00.330303500 31078 < RUBY0015 STATUS+
2005-08-02 17:14:00.370839500 31078 <  Spam/Misdetected (UNSEEN)
 
2005-08-02 17:14:00.371105500 31078 > * STATUS "Spam/Misdetected" (UNSEEN 0)
 
2005-08-02 17:14:00.371109500 31078 > RUBY0015 OK STATUS completed
 
2005-08-02 17:14:00.381671500 31078 < RUBY0016 SELECT+
2005-08-02 17:14:00.421789500 31078 <  Spam/Undetected
 
2005-08-02 17:14:00.422490500 31078 > * 0 EXISTS
 
2005-08-02 17:14:00.422494500 31078 > * 0 RECENT
 
2005-08-02 17:14:00.422496500 31078 > * OK [UIDVALIDITY 1122931544]
 
2005-08-02 17:14:00.422498500 31078 > * OK [UIDNEXT 1] 1 is the next UID
 
2005-08-02 17:14:00.422547500 31078 > * FLAGS (\Answered \Flagged \Deleted 
\Recent \Seen \Draft)
 
2005-08-02 17:14:00.422550500 31078 > * OK [PERMANENTFLAGS (\Answered \Flagged 
\Deleted \Seen \Draft)] Limited
 
2005-08-02 17:14:00.422553500 31078 > RUBY0016 OK [READ-WRITE] SELECT+
2005-08-02 17:14:00.427606500 31078 >  completed
 
2005-08-02 17:14:00.431611500 31078 < RUBY0017 STATUS+
2005-08-02 17:14:00.471800500 31078 <  Spam/Undetected (UNSEEN)
 
2005-08-02 17:14:00.472309500 31078 > * STATUS "Spam/Undetected" (UNSEEN 0)
 
2005-08-02 17:14:00.472313500 31078 > RUBY0017 OK STATUS completed
 
2005-08-02 17:14:00.481430500 31078 < RUBY0018 STATUS+
2005-08-02 17:14:00.521746500 31078 <  Spam/Undetected (UNSEEN)
 
2005-08-02 17:14:00.522013500 31078 > * STATUS "Spam/Undetected" (UNSEEN 0)
 
2005-08-02 17:14:00.522017500 31078 > RUBY0018 OK STATUS completed
 
2005-08-02 17:14:00.531148500 31078 < RUBY0019 STATUS+
2005-08-02 17:14:00.571728500 31078 <  Spam/Undetected (UNSEEN)
 
2005-08-02 17:14:00.571998500 31078 > * STATUS "Spam/Undetected" (UNSEEN 0)
 
2005-08-02 17:14:00.572001500 31078 > RUBY0019 OK STATUS completed
 
2005-08-02 17:14:00.621654500 31078 < RUBY0020 SELECT+
2005-08-02 17:14:00.661674500 31078 <  INBOX
 
2005-08-02 17:14:00.662420500 31078 > * 0 EXISTS
 
2005-08-02 17:14:00.662425500 31078 > * 0 RECENT
 
2005-08-02 17:14:00.662426500 31078 > * OK [UIDVALIDITY 1122931542]
 
2005-08-02 17:14:00.662428500 31078 > * OK [UIDNEXT 1] 1 is the next UID
 
2005-08-02 17:14:00.662554500 31078 > * FLAGS (\Answered \Flagged \Deleted 
\Recent \Seen \Draft)
 
2005-08-02 17:14:00.662557500 31078 > * OK [PERMANENTFLAGS (\Answered \Flagged 
\Deleted \Seen \Draft)] Limited
 
2005-08-02 17:14:00.662560500 31078 > RUBY0020 OK [READ-WRITE] SELECT+
2005-08-02 17:14:00.662650500 31078 >  completed
 
2005-08-02 17:14:00.671333500 31078 < RUBY0021 SORT+
2005-08-02 17:14:00.711680500 31078 <  (DATE) US-ASCII ALL
 
2005-08-02 17:14:00.711857500 31078 > RUBY0021 NO The command "SORT" is 
unsupported in this state. 
 

Reply via email to