Unable to send command: A0006 FETCH 1: error in rouncube after switching from courier to dovecot

Discussion in 'Plesk Automation Suggestions and Feedback' started by AmaZili Communication, Apr 11, 2016.

  1. AmaZili Communication

    AmaZili Communication Kilo Poster

    Messages:
    15
    Hi,

    Running plesk 12.5 (fully updated) on a centos 7 server, we decided yesterday to move from courier-imap to dovecot-imap.
    Installation ran smoothly, first check on one email account seemed ok.

    This morning, one of the user with almost 4000 email in his mailbox, called and ask for assistance on the following message in his roundcube webmail :

    Erreur de serveur : Unable to send command: A0006 FETCH 1:* (UID INTERNALDATE BODY.PEEK[HEADER.FIELDS (DATE)])

    We enabled the debuging in dovecot config and get this in maillog :

    Apr 11 15:13:55 collomb dovecot: imap-login: Login: user=<user@domain.tld>, method=DIGEST-MD5, rip=127.0.0.1, lip=127.0.0.1, mpid=5229, secured, session=<ooYUUTUwMgB/AAAB>
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Loading modules from directory: /usr/libexec/dovecot/modules
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Module loaded: /usr/libexec/dovecot/modules/lib10_quota_plugin.so
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Module loaded: /usr/libexec/dovecot/modules/lib11_imap_quota_plugin.so
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Effective uid=30, gid=31, home=/var/qmail/mailnames/domain.tld/user
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Quota root: name=User quota backend=maildir args=
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Quota grace: root=User quota bytes=0
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Namespace inbox: type=private, prefix=INBOX., sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/qmail/mailnames/domain.tld/user/Maildir
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: maildir++: root=/var/qmail/mailnames/domain.tld/user/Maildir, index=, indexpvt=, control=, inbox=/var/qmail/mailnames/domain.tld/user/Maildir, alt=
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Panic: file ../../../src/lib/array.h: line 219 (array_idx_i): assertion failed: (idx * array->element_size < array->buffer->used)
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x7b53e) [0x7f929753053e] -> /usr/lib64/dovecot/libdovecot.so.0(+0x7b61e) [0x7f929753061e] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7f92974dcb66] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x285dd) [0x7f92977d15dd] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x637f9) [0x7f929780c7f9] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_mail_get_first_header+0xd8) [0x7f929780cb88] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_get_first_header+0x3d) [0x7f92977d258d] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x76f13) [0x7f929781ff13] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x77112) [0x7f9297820112] -> /usr/lib64/dovecot/libdovecot.so.0(i_stream_read+0x53) [0x7f9297539e93] -> /usr/lib64/dovecot/libdovecot.so.0(i_stream_read_data+0x3d) [0x7f929753a80d] -> /usr/lib64/dovecot/libdovecot.so.0(message_parse_header_next+0x83) [0x7f929751f8d3] -> /usr/lib64/dovecot/libdovecot.so.0(+0x6c963) [0x7f9297521963] -> /usr/lib64/dovecot/libdovecot.so.0(message_parser_parse_next_block+0x59) [0x7f9297522069] -> /usr/lib64/dovecot/libdovecot.so.0(message_parser_parse_header+0x52) [0x7f9297522252] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_mail_parse_headers+0x108) [0x7f929780c158] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x634cf) [0x7f929780c4cf] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_mail_get_first_header+0xd8) [0x7f929780cb88] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_get_first_header+0x3d) [0x7f92977d258d] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x6dc93) [0x7f9297816c93] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x6dd9d) [0x7f9297816d9d] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_sort_header_get+0x154) [0x7f9297817514] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_sort_list_finish_string+0x23a) [0x7f9297815aaa] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0xa0) [0x7f9297814af0] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x1f) [0x7f92977db7df] -> dovecot/imap() [0x41d5e3] -> dovecot/imap(imap_search_start+0xc6) [0x41d986] -> dovecot/imap(cmd_sort+0x253) [0x413623]
    Apr 11 15:13:55 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Fatal: master: service(imap): child 5229 killed with signal 6 (core dumps disabled)
    Apr 11 15:14:00 collomb dovecot: imap-login: Login: user=<user@domain.tld>, method=DIGEST-MD5, rip=127.0.0.1, lip=127.0.0.1, mpid=5233, secured, session=<CNhdUTUwNQB/AAAB>
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Loading modules from directory: /usr/libexec/dovecot/modules
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Module loaded: /usr/libexec/dovecot/modules/lib10_quota_plugin.so
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Module loaded: /usr/libexec/dovecot/modules/lib11_imap_quota_plugin.so
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Effective uid=30, gid=31, home=/var/qmail/mailnames/domain.tld/user
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Quota root: name=User quota backend=maildir args=
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Quota grace: root=User quota bytes=0
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Namespace inbox: type=private, prefix=INBOX., sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/qmail/mailnames/domain.tld/user/Maildir
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: maildir++: root=/var/qmail/mailnames/domain.tld/user/Maildir, index=, indexpvt=, control=, inbox=/var/qmail/mailnames/domain.tld/user/Maildir, alt=
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
    Apr 11 15:14:00 collomb dovecot: service=imap, user=user@domain.tld, ip=[127.0.0.1]. Disconnected: Logged out rcvd=93, sent=953

    username and domain have been changed to user@domain.tld.

    Shall we move back to courrier ?
    It would be a shame since we wanted to use sieve filter in roundcube.

    Thanks for help.

    Philippe
     
  2. AmaZili Communication

    AmaZili Communication Kilo Poster

    Messages:
    15
    Update :
    Moving back to courier solved the problem.
    Seems to be a bug with dovecot.
    Too bad, no way to get sieve filters...
     
  3. jmin

    jmin Kilo Poster

    Messages:
    24
    Hello!
    Same here.
    All of the sudden I started to see same error on my Plesk 12.
    Would moving to courier be the only solution?
    Is there any Plesk feedback?

    Thanks.
    Best,
    Jorge.
     

Share This Page