Mail shown in Usermin but not Roundcube

3 posts / 0 new
Last post
#1 Tue, 05/23/2017 - 03:46
ArcScisl

Mail shown in Usermin but not Roundcube

I have one user whose mail doesn't display in Roundcube, it is only mail in the Inbox folder, other folders display mail OK. In UserMin it displays correctly.

When clicking the Inbox in Roundcude the following is logged in /var/log/maillog, I replaced the username with xxx.xxx:

mail dovecot: imap(xxx.xxx): Panic: file mail-index-sync-keywords.c: line 227 (keywords_update_records): assertion failed: (data_offset >= sizeof(struct mail_index_record))

mail dovecot: imap(xxx.xxx): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x6a06e) [0x7f439cbef06e] -> /usr/lib64/dovecot/libdovecot.so.0(+0x6a14e) [0x7f439cbef14e] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7f439cba752c] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_keywords+0x808) [0x7f439cf265c8] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_record+0xfd) [0x7f439cf26eed] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_map+0x21e) [0x7f439cf27e8e] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_map+0x3e7) [0x7f439cf18b77] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xb937d) [0x7f439cf1437d] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xb9990) [0x7f439cf14990] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_open+0x8c) [0x7f439cf14a7c] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_mailbox_open+0x87) [0x7f439cf059c7] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x4d882) [0x7f439cea8882] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x4d963) [0x7f439cea8963] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x802b4) [0x7f439cedb2b4] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_open+0x20) [0x7f439cedb430] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x1a) [0x7f439cf04b3a] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) [0x7f439cedb7a1] -> dovecot/imap(imap_status_get+0x77) [0x7f439d3baf47] -> dovecot/imap(cmd_status+0x13e) [0x7f439d3afb4e] -> dovecot/imap(command_exec+0x3c) [0x7f439d3b401c] -> dovecot/imap(+0x17f1f) [0x7f439d3b2f1f] -> dovecot/imap(+0x18005) [0x7f439d3b3005] -> dovecot/imap(client_handle_input+0x14d) [0x7f439d3b32fd] -> dovecot/imap(client_input+0x85) [0x7f439d3b36c5] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x27) [0x7f439cbffa87] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0xff) [0x7f439cc0090f] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f439cbff5d8] -> /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f439cbac9e3]

mail dovecot: imap(xxx.xxx): Fatal: master: service(imap): child 32292 killed with signal 6 (core dumps disabled)

I have read a similar problem where the answer was a corrupted Dovecot index file and the solution was to rename or delete it. Where is the index file located?

I can see dovecot.index under /home/domain/Maildir but is that for all mailboxes? Is there an index file for each user? In the same folder is dovecot.index.log and dovecot.index.log.

Operating system CentOS Linux 7.3.1611 Webmin version 1.840 Virtualmin version 5.07

Tue, 05/23/2017 - 19:06
Joe
Joe's picture

There is a dovecot index for each mailbox; you'd need to delete the one for the user that is having problems.

--

Check out the forum guidelines!

Wed, 05/24/2017 - 14:43
ArcScisl

I was looking in the wrong folder for the index file, it was in /home/domain/homes/user.name/Maildir

I deleted the .index file, restarted dovecot and the mail appeared. The .index file was recreated.

Thank you.

Topic locked