I'm guessing it's a client related issue.

This occurs when I access dbmail-2 from a thunderbird-0.5 client that has several accounts with many folders configured.

I've also moved my dbmail-2 imap server around to a UML instance on the same machine as my dbmail-1 server, and also to a totally different machine in the same network.

In all cases: thunderbird triggers the closed pipe error, whereas squirrelmail and ilohamail work just fine.

I've finally tested this with mozilla-1.6 with only one account: same problem. One additional thing I noticed though: on first accessing a new account, mozilla and thunderbird hang while 'Getting folder ACL'.

Closing and restarting the client gives me access to the INBOX, but no other folders. weird...

I've tested with balsa and with sylpheed. Oops. Same broken-pipe. No problems reading email though.

Balsa sez:

Feb 24 16:14:41 sarge dbmail/imap4d[8522]: db.c,db_acl_has_right: checking ACL for user [1] on mailbox [1] Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmysql.c,db_query: executing query [SELECT mailbox_idnr FROM mailboxes WHERE mailbox_idnr = '1' AND owner_idnr = '1'] Feb 24 16:14:41 sarge dbmail/imap4d[8522]: Fetching msgID 266371 (fetch num 266372) Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmysql.c,db_query: executing query [SELECT physmessage_id FROM messages WHERE message_idnr = '266371'] Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmysql.c,db_query: executing query [SELECT messageblk FROM messageblks WHERE physmessage_id = '266371' ORDER BY messageblk_idnr] Feb 24 16:14:41 sarge dbmail/imap4d[8522]: db_start_msg(): starting, stopbound: '<null>' Feb 24 16:14:41 sarge dbmail/imap4d[8522]: mime_readheader(): entering mime loop Feb 24 16:14:41 sarge dbmail/imap4d[8522]: mime_readheader(): found double newline; header size: 35 lines Feb 24 16:14:41 sarge dbmail/imap4d[8522]: db_start_msg(): found singlepart msg Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmsgbuf.c,db_update_msgbuf: update msgbuf_buf updating 9105330798592, 1627792605184, 1627792605184, 578557108660731904 Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmsgbuf.c,db_update_msgbuf: update msgbuf: entire fit Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmsgbuf.c,db_update_msgbuf update msgbuf succes NOMORE
Feb 24 16:14:41 sarge dbmail/imap4d[8522]: db_start_msg(): exit
Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmysql.c,db_query: executing query [SELECT physmessage_id FROM messages WHERE message_idnr = '266371'] Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmsgbuf.c,db_dump_range: Dumping range: (1,0) - (1,378) Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmysql.c,db_query: executing query [SELECT messageblk FROM messageblks WHERE physmessage_id = '266371' ORDER BY messageblk_idnr] Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmysql.c,db_query: executing query [SELECT seen_flag FROM messages WHERE message_idnr = '266371' AND status< '2' AND unique_id != '' AND mailbox_idnr = '1'] Feb 24 16:14:41 sarge dbmail/imap4d[8522]: dbmysql.c,db_query: executing query [SELECT seen_flag FROM messages WHERE message_idnr = '266371' AND status< '2' AND unique_id != '' AND mailbox_idnr = '1'] Feb 24 16:14:41 sarge dbmail/imap4d[8522]: IMAPClientHandler(): Finished command uid Feb 24 16:14:47 sarge dbmail/imap4d[8521]: IMAPClientHandler(): line read for PID 8521
Feb 24 16:14:47 sarge dbmail/imap4d[8521]: COMMAND: [147]
Feb 24 16:14:47 sarge dbmail/imap4d[8521]: IMAPClientHandler(): line read for PID 8521
Feb 24 16:14:47 sarge dbmail/imap4d[8521]: COMMAND: [147]
Feb 24 16:14:47 sarge dbmail/imap4d[8521]: IMAPClientHandler(): error [Broken pipe] on write-stream Feb 24 16:14:47 sarge dbmail/imap4d[8521]: PerformChildTask(): client handling complete, closing streams Feb 24 16:14:47 sarge dbmail/imap4d[8521]: PerformChildTask(): connection closed Feb 24 16:14:47 sarge dbmail/imap4d[8521]: PerformChildTask(): waiting for connection




Anyone seeing similar behaviour?




Ilja Booij wrote:
I haven't seen anything like this here. It looks like a bad TCP connection to me. Have you tried this on other hardware/OS-version?

Ilja

Paul J Stevens wrote:

Hi All,

I'm testing the 2.x codebase. I've migrated a copy of my dbmail-1 db.

I'm seeing some strange things. Mostly though I'm seeing lots of Broken pipe on write stream. These are rather common on my 1.2.3 installations as well, but on 2.x-cvs they make the imap server unusable.

Any clues ?


dbmail/imap4d[3961]: IMAPClientHandler(): Executing command status...
dbmail/imap4d[3961]: db.c,db_findmailbox: looking for mailbox with FQN [Drafts]. dbmail/imap4d[3961]: dbmysql.c,db_query: executing query [SELECT mailbox_idnr FROM mailboxes WHERE name='Drafts' AND owner_idnr='1'] dbmail/imap4d[3961]: db.c,db_acl_has_right: checking ACL for user [1] on mailbox [58] dbmail/imap4d[3961]: dbmysql.c,db_query: executing query [SELECT mailbox_idnr FROM mailboxes WHERE mailbox_idnr = '58' AND owner_idnr = '1'] dbmail/imap4d[3961]: dbmysql.c,db_query: executing query [SELECT permission,seen_flag,answered_flag,deleted_flag,flagged_flag,recent_flag,draft_flag FROM mailboxes WHERE mailbox_idnr = '58'] Feb 24 12:57:31 shiko dbmail/imap4d[3961]: dbmysql.c,db_query: executing query [SELECT message_idnr, seen_flag, recent_flag FROM messages WHERE mailbox_idnr = '58' AND status < 2 AND unique_id != '' ORDER BY message_idnr ASC] Feb 24 12:57:31 shiko dbmail/imap4d[3961]: dbmysql.c,db_query: executing query [SELECT MAX(message_idnr) FROM messages WHERE unique_id != ''] Feb 24 12:57:31 shiko dbmail/imap4d[3961]: IMAPClientHandler(): Finished command status Feb 24 12:57:31 shiko dbmail/imap4d[3961]: IMAPClientHandler(): line read for PID 3961
Feb 24 12:57:31 shiko dbmail/imap4d[3961]: COMMAND: [2]
Feb 24 12:57:32 shiko dbmail/imap4d[3961]: IMAPClientHandler(): error [Broken pipe] on write-stream Feb 24 12:57:32 shiko dbmail/imap4d[3961]: PerformChildTask(): client handling complete, closing streams Feb 24 12:57:32 shiko dbmail/imap4d[3961]: PerformChildTask(): connection closed Feb 24 12:57:32 shiko dbmail/imap4d[3961]: PerformChildTask(): waiting for connection



_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev


--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to