[Dovecot] IMAP Panic

Raphael Bittencourt S. Costa raphaelbscosta at gmail.com
Fri Jul 11 19:43:07 EEST 2008


Helo all,

One of the users is havings problems when he tries to open .Sent folder.
Only after I deleted dovecot-uidlist,  dovecot.index.cache
and dovecot.index.log the user could open the folder. Any idea?

Squirrel:
Query: SORT (TO) ISO-8859-1 ALL

dovecot.log:
Jul 11 13:23:01 mailserver03 dovecot: imap-login: Login:
user=<smassaro at dialdata.com.br>, method=PLAIN, rip=10.0.4.2,
lip=10.0.149.3
Jul 11 13:23:03 mailserver03 dovecot: Panic: IMAP(smassaro at dial.com):
file index-sort-string.c: line 537 (index_sort_add_ids_range): assertion
failed: (left_sort_id < right_sort_id)
Jul 11 13:23:03 mailserver03 dovecot: IMAP(smassaro at dial.com): Raw
backtrace: imap [0x4833d0] -> imap [0x483433] -> imap [0x482b16] ->
imap(index_sort_list_finish_string+0xda1) [0x451eb1] ->
imap(index_storage_search_next_nonblock+0x425) [0x44ebe5] ->
imap(mailbox_search_next+0x21) [0x455ab1] -> imap(imap_sort+0xd6)
[0x4208f6] -> imap(cmd_sort+0x2d7) [0x419c47] -> imap(cmd_uid+0x52)
[0x41a692] -> imap [0x41b05c] -> imap [0x41b112] -> imap [0x41b8bf] ->
imap(client_input+0x63) [0x41bae3] -> imap(io_loop_handler_run+0xf8)
[0x489cc8] -> imap(io_loop_run+0x1d) [0x4891bd] -> imap(main+0x3ca)
[0x422f2a] -> /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b797d759154]
-> imap [0x4158e9]

Jul 11 13:23:47 mailserver03 dovecot: imap-login: Login:
user=<smassaro at dial.com>, method=PLAIN, rip=10.0.4.2, lip=10.0.149.3
Jul 11 13:23:50 mailserver03 dovecot: Panic: IMAP(smassaro at dial.com):
file index-sort-string.c: line 537 (index_sort_add_ids_range): assertion
failed: (left_sort_id < right_sort_id)
Jul 11 13:23:50 mailserver03 dovecot: IMAP(smassaro at dial.com): Raw
backtrace: imap [0x4833d0] -> imap [0x483433] -> imap [0x482b16] ->
imap(index_sort_list_finish_string+0xda1) [0x451eb1] ->
imap(index_storage_search_next_nonblock+0x425) [0x44ebe5] ->
imap(mailbox_search_next+0x21) [0x455ab1] -> imap(imap_sort+0xd6)
[0x4208f6] -> imap(cmd_sort+0x2d7) [0x419c47] -> imap(cmd_uid+0x52)
[0x41a692] -> imap [0x41b05c] -> imap [0x41b112] -> imap [0x41b8bf] ->
imap(client_input+0x63) [0x41bae3] -> imap(io_loop_handler_run+0xf8)
[0x489cc8] -> imap(io_loop_run+0x1d) [0x4891bd] -> imap(main+0x3ca)
[0x422f2a] -> /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b2e94286154]
-> imap [0x4158e9]


 dovecot -n
# 1.1.1: /etc/dovecot//dovecot.conf
syslog_facility: local1
protocols: imap pop3
ssl_disable: yes
disable_plaintext_auth: no
shutdown_clients: no
login_dir: /usr//var/run/dovecot/login
login_executable(default): /usr//libexec/dovecot/imap-login
login_executable(imap): /usr//libexec/dovecot/imap-login
login_executable(pop3): /usr//libexec/dovecot/pop3-login
login_process_per_connection: no
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
login_process_size: 128
login_processes_count: 30
login_max_processes_count: 1024
login_max_connections: 512
max_mail_processes: 10240
mail_max_userip_connections(default): 20
mail_max_userip_connections(imap): 20
mail_max_userip_connections(pop3): 10
mail_uid: 1033
mail_gid: 1033
mail_location: maildir:%h/Maildir
mail_executable(default): /usr//libexec/dovecot/imap
mail_executable(imap): /usr//libexec/dovecot/imap
mail_executable(pop3): /usr//libexec/dovecot/pop3
mail_plugins(default): quota imap_quota autocreate
mail_plugins(imap): quota imap_quota autocreate
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr//lib/dovecot/imap
mail_plugin_dir(imap): /usr//lib/dovecot/imap
mail_plugin_dir(pop3): /usr//lib/dovecot/pop3
pop3_no_flag_updates(default): no
pop3_no_flag_updates(imap): no
pop3_no_flag_updates(pop3): yes
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %f
pop3_client_workarounds(default): 
pop3_client_workarounds(imap): 
pop3_client_workarounds(pop3): outlook-no-nuls
namespace:
  type: private
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  mechanisms: plain login
  passdb:
    driver: ldap
    args: /etc/dovecot/dovecot-ldap.conf
  userdb:
    driver: prefetch
  userdb:
    driver: ldap
    args: /etc/dovecot/dovecot-ldap.conf
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 438
plugin:
  quota: maildir
  quota_rule: *:bytes=10240
  quota_rule2: *:messages=30000
  quota_rule3: Trash:bytes=10%%
  autocreate: SPAM.E Spam
  autocreate2: SPAM
  


[]s,

Raphael Costa



More information about the dovecot mailing list