[Dovecot] search gives variable/different results

W. de Hoog wdehoog at exalondelft.nl
Sat Dec 14 17:27:38 EET 2013


Hi,

When I perform a search using doveadm every time it returns different 
results. For example:

$ doveadm search mailbox shared/\* TO stromvers
938ff10527d6be515f5900007b46f991 6
938ff10527d6be515f5900007b46f991 7
938ff10527d6be515f5900007b46f991 8

$ doveadm search mailbox shared/\* TO stromvers
6a8ff10527d6be515f5900007b46f991 1
6a8ff10527d6be515f5900007b46f991 3
6a8ff10527d6be515f5900007b46f991 4
938ff10527d6be515f5900007b46f991 1
938ff10527d6be515f5900007b46f991 2
938ff10527d6be515f5900007b46f991 3
938ff10527d6be515f5900007b46f991 6
938ff10527d6be515f5900007b46f991 7
938ff10527d6be515f5900007b46f991 8

$ doveadm search mailbox shared/\* TO stromvers
938ff10527d6be515f5900007b46f991 6
938ff10527d6be515f5900007b46f991 7
938ff10527d6be515f5900007b46f991 8

$ doveadm search mailbox shared/\* TO stromvers
938ff10527d6be515f5900007b46f991 7
938ff10527d6be515f5900007b46f991 8

$ doveadm search mailbox shared/\* TO stromvers
6a8ff10527d6be515f5900007b46f991 1
6a8ff10527d6be515f5900007b46f991 3
6a8ff10527d6be515f5900007b46f991 4

$ dovecot -n
# 2.2.9 (5c170e0786f3): /etc/dovecot/dovecot.conf
# OS: Linux 3.12.0-031200-generic x86_64 Ubuntu 13.10
auth_verbose = yes
disable_plaintext_auth = no
log_path = /var/log/dovecot.log
mail_debug = yes
mail_plugins = fts fts_squat
mail_privileged_group = mail
namespace {
   hidden = yes
   inbox = yes
   list = no
   location = mbox:~/mail:INBOX=/var/mail/%u
   prefix = "#mbox/"
   separator = /
}
namespace {
   list = yes
   location = sdbox:/home/imapshared-sdbox
   prefix = shared/
   separator = /
   subscriptions = no
   type = public
}
namespace inbox {
   location = sdbox:~/sdboxmail
   mailbox Drafts {
     special_use = \Drafts
   }
   mailbox Junk {
     special_use = \Junk
   }
   mailbox Sent {
     special_use = \Sent
   }
   mailbox "Sent Messages" {
     special_use = \Sent
   }
   mailbox Trash {
     special_use = \Trash
   }
   prefix =
   separator = /
}
passdb {
   driver = pam
}
plugin {
   fts = squat
   fts_autoindex = yes
   fts_squat = partial=4 full=10
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
}
protocols = " imap"
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
   driver = passwd
}
verbose_ssl = yes
protocol imap {
   imap_client_workarounds = tb-extra-mailbox-sep tb-lsub-flags
}

-- 
Willem-Jan de Hoog


More information about the dovecot mailing list