cyrus-imap response not RFC compatible

Alain Spineux aspineux at gmail.com
Mon Jul 30 08:57:36 EDT 2007


Hi

I got the following answerer to the LIST command  (this is ascii tcpdump
log, the full session is at the end)

22:23:23.157240 IP box17.47347 > fc6-eg.imap: P50:67(17) ack 317 win 216
<nop,nop,timestamp 109340393 175020224>
EKDA2 LIST "" *..
22:23:23.171070 IP fc6-eg.imap > box17.47347: P317:328(11) ack 67 win 181
<nop,nop,timestamp 175020226 109340393>
31 lockers.
22:23:23.175567 IP fc6-eg.imap > box17.47347: .328:3224(2896) ack 67 win 181
<nop,nop,timestamp 175020229 109340393>
* LIST (\HasNoChildren) "/" "user/admin.aa.loc at aa.loc"..
* LIST (\HasNoChildren) "/" "user/catchall.aa.loc at aa.loc"..

The Wron line is "31 lockers."

First, 31 in not a valid TAG for the session,
second the line end by '\n' and not by both CRLF

I looked the sources, their is no "locker(s)" string that could be send that
way!
I suspect the line is coming from a berkley DB error message.
This error append only when 2 or more processes are searching the same
mailbox.

Any idea?

Here is the full session  transcript:

22:23:23.105259 IP box17.47347 > fc6-eg.imap: S1722089540:1722089540(0) win
5840 <mss 1460,sackOK,timestamp 109340382
0,nop,wscale 5>
22:23:23.105286 IP fc6-eg.imap > box17.47347: S711349363:711349363(0) ack
1722089541 win 5792 <mss1460,sackOK,timestamp 175020211 109340382,nop,wscale
5>
22:23:23.105700 IP box17.47347 > fc6-eg.imap: .ack 1 win 183
<nop,nop,timestamp 109340382 175020211>
22:23:23.116460 IP fc6-eg.imap > box17.47347: P1:58(57) ack 1 win 181
<nop,nop,timestamp 175020214 109340382>
* OK fc6-eg Cyrus IMAP4 v2.2.12 server ready..
22:23:23.117195 IP box17.47347 > fc6-eg.imap: .ack 58 win 183
<nop,nop,timestamp 109340384 175020214>
22:23:23.117798 IP box17.47347 > fc6-eg.imap: P1:19(18) ack 58 win 183
<nop,nop,timestamp 109340384 175020214>
EKDA0 CAPABILITY..
22:23:23.117812 IP fc6-eg.imap > box17.47347: .ack 19 win 181
<nop,nop,timestamp 175020214 109340384>
22:23:23.121513 IP fc6-eg.imap > box17.47347: P58:292(234) ack 19 win 181
<nop,nop,timestamp 175020214 109340384>
* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE
STARTTLS..
EKDA0 OK Completed..
22:23:23.122806 IP box17.47347 > fc6-eg.imap: P19:50(31) ack 292 win 216
<nop,nop,timestamp 109340386 175020214>
EKDA1 LOGIN manager "foobar"..
22:23:23.155985 IP fc6-eg.imap > box17.47347: P292:317(25) ack 50 win 181
<nop,nop,timestamp 175020224 109340386>
EKDA1 OK User logged in..
22:23:23.157240 IP box17.47347 > fc6-eg.imap: P50:67(17) ack 317 win 216
<nop,nop,timestamp 109340393 175020224>
EKDA2 LIST "" *..
22:23:23.171070 IP fc6-eg.imap > box17.47347: P317:328(11) ack 67 win 181
<nop,nop,timestamp 175020226 109340393>
31 lockers.
22:23:23.175567 IP fc6-eg.imap > box17.47347: .328:3224(2896) ack 67 win 181
<nop,nop,timestamp 175020229 109340393>
* LIST (\HasNoChildren) "/" "user/admin.aa.loc at aa.loc"..
* LIST (\HasNoChildren) "/" "user/catchall.aa.loc at aa.loc"..
....


--
Alain Spineux
aspineux gmail com
May the sources be with you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070730/e6b26d4e/attachment.html 


More information about the Info-cyrus mailing list