On 13/05/2026 19:13 EEST social+17dw1scw--- via dovecot <dovecot@dovecot.org> wrote:
Hi,
I've been researching this for a while now, and can't find a definitive answer.
I have a virtual setup, with globally static UID, GID and mail locations set. The documentation is clear that this lets me use a static userdb instead of SQL. But then, doveadm mailbox list -A requires that a valid iterate_query is set, and that requires an SQL userdb. So, which is it? If querying does not work with a static userdb, that seems like a significant caveat.
I'm also curious how this works with prefetch. I understand I can make the passdb query return static values, but I figure since I already have those configured, I shouldn't need to do that. How can I determine whether prefetching is working as intended?
Thank you.
Hi!
If you are using static userdb or globally configured mail_uid,gid,etc. you cannot list users.
Where would the user list come from, Dovecot cannot invent users.
Aki