[Dovecot] iterate_query not working
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
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 it
dovecot -n output? Maybe you're using only passdb sql, but userdb static? Maybe you have more than one userdb?
Thanks for a reply.
In the meantime I have found the problem. Userdb was static as you say. I believe docs do not tell that iterate query is based on user query.
-- Treść oryginalnej wiadomości --
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 it
dovecot -n output? Maybe you're using only passdb sql, but userdb static? Maybe you have more than one userdb?
-- pozdrawiam Piotr Szafarczyk
participants (2)
-
Piotr NetExpert
-
Timo Sirainen