Hi, I have got iterate_query defined in dovecot-sql.conf.ext. However when I run a command like: doveadm search -A BEFORE 10d I receive an error message (Failed to iterate ...) There is an error message in a log file too: Error: Trying to iterate users, but userdbs don't support it The problem is that monitoring a database server shows that dovecot does not try to execute any query. What I am doing wrong? password_query lookups work fine. -- pozdrawiam Piotr Szafarczyk http://www.netexpert.pl
On Mon, 2011-10-24 at 21:26 +0200, Piotr NetExpert wrote:> Hi, > > I have got iterate_query defined in dovecot-sql.conf.ext. However when I > run a command like: > doveadm search -A BEFORE 10d > I receive an error message (Failed to iterate ...) > > There is an error message in a log file too: > Error: Trying to iterate users, but userdbs don't support itdovecot -n output? Maybe you're using only passdb sql, but userdb static? Maybe you have more than one userdb?