[Dovecot] Dovecot IMAP repeatedly disconnects
Hi,
I'm running dovecot-1.0.7-7.el5 on a CentOS 5.5x64 server, accessed through Thunderbird clients. Thunderbird is reporting constant disconnections from the server; the maillog shows constant repeats of
Apr 4 16:39:21 holly dovecot: imap-login: Login: user=<?user?>, method=PLAIN, rip=::ffff:172.31.255.193, lip=::ffff:172.31.255.1 Apr 4 16:39:21 holly dovecot: IMAP(?user?): mbox /home/?user?/mail/Trash: seq=1 uid=3469 uid_broken=0 originally needed 17 bytes, now needs 18 bytes Apr 4 16:39:21 holly dovecot: IMAP(?user?): Raw backtrace: imap [0x461b7e] -> imap [0x4618ec] -> imap(mbox_sync_rewrite+0x5e3) [0x4344a3] -> imap [0x42f5c0] -> imap(mbox_sync+0x428) [0x4309a8] -> imap [0x427a5c] -> imap(cmd_copy+0x2f9) [0x411ff9] -> imap(cmd_uid+0x48) [0x4152a8] -> imap [0x4157a7] -> imap [0x415839] -> imap(_client_input+0x6d) [0x415e7d] -> imap(io_loop_handler_run+0x106) [0x466ef6] -> imap(io_loop_run+0x18) [0x4663f8] -> imap(main+0x3f2) [0x41d5c2] -> /lib64/libc.so.6(__libc_start_main+0xf4) [0x36d441d994] -> imap [0x411179] Apr 4 16:39:21 holly dovecot: child 14327 (imap) killed with signal 6
The Thhunderbird custoimisations (login_greeting_capability = yes and imap_client_workarounds = tb-extra-mailbox-sep) are configured
--
Regards, ?user? Humphries Mobile: 0419 233 051 NetSense Computers (Ironstone Technology Pty Ltd) 79 Barney St (P. O. Box 423), Kiama, NSW, 2533 Phone: +61 (0)2 4233 2285 Fax: +61 (0)2 4233 2781 Web: http://www.netsensecomputers.com.au
-- This email is intended for the named addressee/s only and may contain confidential or privileged information. If you are not a named addressee please delete it and notify the sender.
"/At every moment he beholdeth a wondrous world, a new creation, and goeth from astonishment to astonishment, and is lost in awe at the works of the Lord of Oneness./" Baha'u'llah, The Seven Valleys "./.. humans are interesting. With all the wonders there are in the Universe, they invented boredom./" Terry Pratchet, Hogfather "/The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed./" Albert Einstein /"Stuff your eyes with wonder ... live as if you'd drop dead in ten seconds. See the world. It's more fantastic than any dream made or paid for in factories./" Ray Bradbury
Edwin Humphries put forth on 4/4/2011 12:48 AM:
Hi,
I'm running dovecot-1.0.7-7.el5 on a CentOS 5.5x64 server, accessed through Thunderbird clients. Thunderbird is reporting constant disconnections from the server; the maillog shows constant repeats of
Apr 4 16:39:21 holly dovecot: imap-login: Login: user=<?user?>, method=PLAIN, rip=::ffff:172.31.255.193, lip=::ffff:172.31.255.1 Apr 4 16:39:21 holly dovecot: IMAP(?user?): mbox /home/?user?/mail/Trash: seq=1 uid=3469 uid_broken=0 originally needed 17 bytes, now needs 18 bytes Apr 4 16:39:21 holly dovecot: IMAP(?user?): Raw backtrace: imap [0x461b7e] -> imap [0x4618ec] -> imap(mbox_sync_rewrite+0x5e3) [0x4344a3] -> imap [0x42f5c0] -> imap(mbox_sync+0x428) [0x4309a8] -> imap [0x427a5c] -> imap(cmd_copy+0x2f9) [0x411ff9] -> imap(cmd_uid+0x48) [0x4152a8] -> imap [0x4157a7] -> imap [0x415839] -> imap(_client_input+0x6d) [0x415e7d] -> imap(io_loop_handler_run+0x106) [0x466ef6] -> imap(io_loop_run+0x18) [0x4663f8] -> imap(main+0x3f2) [0x41d5c2] -> /lib64/libc.so.6(__libc_start_main+0xf4) [0x36d441d994] -> imap [0x411179] Apr 4 16:39:21 holly dovecot: child 14327 (imap) killed with signal 6
The Thhunderbird custoimisations (login_greeting_capability = yes and imap_client_workarounds = tb-extra-mailbox-sep) are configured
Is this server in production for a while and this just happened out of the blue, or is this a new install?
If the former, did you make any configuration changes recently, to either Dovecot or the CentOS operating system environment?
If not, you've probably got a corrupted mbox file(s) (hopefully not due to a filesystem or disk problem). From the snippet provided, it would appear your trash folder is an IMAP folder stored on Dovecot as an mbox file, and is corrupted. I would recommend the following corrective action:
Log into the CentOS console via SSH etc and manually delete the mbox file that is the trash folder, and delete the Dovecot index files for the user in question.
Afterward, follow best practices and make the trash folder a local folder on the TBird client PC. Never put an MUA trash folder on an IMAP server.
Finally, once you get the current problem cured, *UPGRADE* to a recent version of Dovecot! 1.0.7 is absolutely ancient, almost 4 years old, and likely has many bugs. The latest version in the 1.x branch is 1.2.16.
-- Stan
participants (2)
-
Edwin Humphries
-
Stan Hoeppner