Author Topic: Cannot delete e-mails  (Read 2111 times)

Offline Potku

  • Newbie
  • *
  • Posts: 4
Cannot delete e-mails
« on: January 02, 2018, 07:02:07 AM »
Hello! And thank you for a great webmail. :)

I tried searching for this but couldn't really find what I was looking for. I apologize if I should have posted to an existing topic.

We have had Roundcube forever. It has always worked great. However, a few months ago we migrated to another host. That's when something must have gone a little wrong.

With e-mail accounts that have only the default folders, everything's A-OK. But with accounts that have added folders, there is a problem: e-mails cannot be deleted. There is an error message pop-up. It's in Finnish, but it says something along the lines of "Error. Message(s) cannot be moved".

Has anyone been in the same situation?

Thanks in advance,

Mika
https://potku.net

Offline alec

  • Hero Member
  • *****
  • Posts: 1,149
Re: Cannot delete e-mails
« Reply #1 on: January 03, 2018, 03:21:40 AM »
Can you move them using another client e.g. Thunderbird? More likely it's an IMAP server issue. Enable imap_debug in Roundcube to see what's going on when Roundcube talks to the IMAP server.

Offline Potku

  • Newbie
  • *
  • Posts: 4
Re: Cannot delete e-mails
« Reply #2 on: January 03, 2018, 05:49:34 AM »
Alec, thanks for your reply. I have relayed the information to our technical admin. I will follow up here once I hear what he has found. I hope we can solve this here. :)

Offline Potku

  • Newbie
  • *
  • Posts: 4
Re: Cannot delete e-mails
« Reply #3 on: January 03, 2018, 10:19:02 AM »
This is what I got from our tech admin:

Jan  3 17:15:03 potku dovecot: imap(admin@potku.net): Panic: file mail-index-sync-keywords.c: line 227 (keywords_update_records): assertion failed: (data_offset >= sizeof(struct mail_index_record))
Jan  3 17:15:03 potku dovecot: imap(admin@potku.net): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x6b6fe) [0x7f787d5cc6fe] -> /usr/lib/dovecot/libdovecot.so.0(+0x6b7ec) [0x7f787d5cc7ec] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f787d5838fb] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_keywords+0x828) [0x7f787d908058] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_record+0xf7) [0x7f787d908907] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_map+0x238) [0x7f787d9098b8] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_map+0x21f) [0x7f787d8f9f2f] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xba7dd) [0x7f787d8f57dd] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xbae3b) [0x7f787d8f5e3b] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_open+0x8c) [0x7f787d8f5f4c] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_storage_mailbox_open+0xff) [0x7f787d8e6cef] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x4def2) [0x7f787d888ef2] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x4dfd8) [0x7f787d888fd8] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x813c4) [0x7f787d8bc3c4] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_open+0x20) [0x7f787d8bc540] -> dovecot/imap(client_open_save_dest_box+0x82) [0x558d3a96c6b2] -> dovecot/imap(+0xde46) [0x558d3a960e46] -> dovecot/imap(command_exec+0x3c) [0x558d3a96c09c] -> dovecot/imap(+0x17fb2) [0x558d3a96afb2] -> dovecot/imap(+0x18066) [0x558d3a96b066] -> dovecot/imap(client_handle_input+0x13d) [0x558d3a96b39d] -> dovecot/imap(client_input+0x85) [0x558d3a96b745] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x3f) [0x7f787d5ddd0f] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xf9) [0x7f787d5ded09] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9) [0x7f787d5ddd79] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f787d5dddf8] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f787d588dc3] -> dovecot/imap(main+0x2c4) [0x558d3a95f254]
Jan  3 17:15:03 potku dovecot: imap(admin@potku.net): Fatal: master: service(imap): child 14777 killed with signal 6 (core dumps disabled)


Does that point to anything that could help solve this? :)

Offline Potku

  • Newbie
  • *
  • Posts: 4
Re: Cannot delete e-mails
« Reply #4 on: January 03, 2018, 10:41:58 AM »
OK, it seems this did the trick:

Fixing Dovecot panic mail-index-sync-keywords.c, broken dovecot indexes « Core-Admin
https://www.core-admin.com/portal/fixing-dovecot-panic-mail-index-sync-keywords-c-broken-dovecot-indexes

Well, hopefully this topic will help someone else at some point. Alec, thanks again for your reply. :)