Hello I got this error message imaplib.abort: command: LIST => unexpected response: '31 locker' the 31 locker is coming from cyrus just after a LIST command, like showed in the tcpdump bellow. The python program is a single treaded script that send emails and then search for them in multiples mailbox. I login as master, make a list of all mailbox, and then search each of them for a "Subject:" matching the id string I sent in the email. When 2 of these program run at the same time (this time it was from 2 different host) I get this error. I think the locker refers the berkley db. Any idea to avoid this ? cyrus-imapd-2.2.12 HERE is the tcpdump, look a the end 22:23:23.105259 IP box17.asxnet.loc.47347 > fc6-eg.asxnet.loc.imap: S 1722089540:1722089540(0) win 5840 <mss 1460,sackOK,timestamp 109340382 0,nop,wscale 5> 22:23:23.105286 IP fc6-eg.asxnet.loc.imap > box17.asxnet.loc.47347: S 711349363:711349363(0) ack 1722089541 win 5792 <mss 1460,sackOK,timestamp 175020211 109340382,nop,wscale 5> 22:23:23.105700 IP box17.asxnet.loc.47347 > fc6-eg.asxnet.loc.imap: . ack 1 win 183 <nop,nop,timestamp 109340382 175020211> 22:23:23.116460 IP fc6-eg.asxnet.loc.imap > box17.asxnet.loc.47347: P 1:58(57) ack 1 win 181 <nop,nop,timestamp 175020214 109340382> * OK fc6-eg.asxnet.loc Cyrus IMAP4 v2.2.12 server ready.. 22:23:23.117195 IP box17.asxnet.loc.47347 > fc6-eg.asxnet.loc.imap: . ack 58 win 183 <nop,nop,timestamp 109340384 175020214> 22:23:23.117798 IP box17.asxnet.loc.47347 > fc6-eg.asxnet.loc.imap: P 1:19(18) ack 58 win 183 <nop,nop,timestamp 109340384 175020214> EKDA0 CAPABILITY.. 22:23:23.117812 IP fc6-eg.asxnet.loc.imap > box17.asxnet.loc.47347: . ack 19 win 181 <nop,nop,timestamp 175020214 109340384> 22:23:23.121513 IP fc6-eg.asxnet.loc.imap > box17.asxnet.loc.47347: P 58: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.asxnet.loc.47347 > fc6-eg.asxnet.loc.imap: P 19:50(31) ack 292 win 216 <nop,nop,timestamp 109340386 175020214> EKDA1 LOGIN manager "foobar".. 22:23:23.155985 IP fc6-eg.asxnet.loc.imap > box17.asxnet.loc.47347: P 292:317(25) ack 50 win 181 <nop,nop,timestamp 175020224 109340386> EKDA1 OK User logged in.. 22:23:23.157240 IP box17.asxnet.loc.47347 > fc6-eg.asxnet.loc.imap: P 50:67(17) ack 317 win 216 <nop,nop,timestamp 109340393 175020224> EKDA2 LIST "" *.. 22:23:23.171070 IP fc6-eg.asxnet.loc.imap > box17.asxnet.loc.47347: P 317:328(11) ack 67 win 181 <nop,nop,timestamp 175020226 109340393> 31 lockers. 22:23:23.175567 IP fc6-eg.asxnet.loc.imap > box17.asxnet.loc.47347: . 328:3224(2896) ack 67 win 181 <nop,nop,timestamp 175020229 109340393> * LIST (\HasNoChildren) "/" "user/admin.aa.loc@xxxxxx".. * LIST (\HasNoChildren) "/" "user/catchall.aa.loc@xxxxxx".. .... -- -- Alain Spineux aspineux gmail com May the sources be with you ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html