Oleg, i've fixed this.
Oleg Lapshin wrote: > Hello > When I try to check empty folder, dbmail-imapd hangs > Level-4 logs: > folder mail/sent-mail has 1 message, folder mail has 0 messages: > > Info received connection > Info connection accepted > Message serverchild.c,PerformChildTask: incoming connection from [127.0.0.1] > by pid [1882] > Info COMMAND: [0 CAPABILITY] > Info imap4.c,IMAPClientHandler: Executing command capability... > Info imap4.c,IMAPClientHandler: Finished command capability [0] > Info COMMAND: [1 LOGIN "user" "password"] > Info imap4.c,IMAPClientHandler: Executing command login... > Message user (id:2, name user) tries login > Message user (id 2, name user) login accepted > Info imap4.c,IMAPClientHandler: Finished command login [0] > Info COMMAND: [2 NAMESPACE] > Info imap4.c,IMAPClientHandler: Executing command namespace... > Info imap4.c,IMAPClientHandler: Finished command namespace [0] > Info COMMAND: [3 LIST "" ""] > Info imap4.c,IMAPClientHandler: Executing command list... > Info imap4.c,IMAPClientHandler: Finished command list [0] > Message register child [1909] > Info initializing child_state [1909] using slot [1] > Info signal handler placed, going to perform task now > Info waiting for connection > Message Scoreboard state: children [2/4], spares [1 (1 - 3)] > Info COMMAND: [4 LIST "" "mail/sent-mail"] > Info imap4.c,IMAPClientHandler: Executing command list... > Info imapcommands.c,_ic_list: search with pattern: [mail/sent-mail] > Info db.c,db_findmailbox_by_regex: found [1] mailboxes > Info imap4.c,IMAPClientHandler: Finished command list [0] > Info COMMAND: [5 SELECT "mail/sent-mail"] > Info imap4.c,IMAPClientHandler: Executing command select... > Info imap4.c,IMAPClientHandler: Finished command select [0] > Info COMMAND: [6 NOOP] > Info imap4.c,IMAPClientHandler: Executing command noop... > Info imap4.c,IMAPClientHandler: Finished command noop [0] > Info COMMAND: [7 UID FETCH 55085:* (UID RFC822.SIZE FLAGS ENVELOPE > BODY.PEEK[HEADER.FIELDS (REFERENCES)])] > Info imap4.c,IMAPClientHandler: Executing command uid... > Info imap4.c,IMAPClientHandler: Finished command uid [0] > Info COMMAND: [8 UID FETCH 55084 (UID RFC822.SIZE FLAGS BODY.PEEK[])] > Info imap4.c,IMAPClientHandler: Executing command uid... > Info imap4.c,IMAPClientHandler: Finished command uid [0] > Info COMMAND: [9 LIST "" "mail"] > Info imap4.c,IMAPClientHandler: Executing command list... > Info imapcommands.c,_ic_list: search with pattern: [mail] > Info db.c,db_findmailbox_by_regex: found [1] mailboxes > Info imap4.c,IMAPClientHandler: Finished command list [0] > Info COMMAND: [10 NOOP] > Info imap4.c,IMAPClientHandler: Executing command noop... > Info imap4.c,IMAPClientHandler: Finished command noop [0] > Info COMMAND: [11 SELECT "mail"] > Info imap4.c,IMAPClientHandler: Executing command select... > Info dbmail-mailbox.c,dbmail_mailbox_open: no messages in mailbox > Info imap4.c,IMAPClientHandler: Finished command select [0] > Info COMMAND: [12 UID FETCH 1:* (UID RFC822.SIZE FLAGS ENVELOPE > BODY.PEEK[HEADER.FIELDS (REFERENCES)])] > Info imap4.c,IMAPClientHandler: Executing command uid... > Info dbmail-mailbox.c,dbmail_mailbox_open: no messages in mailbox > > Now dbmail-imapd hangs and I must reconnect > -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl