Re: Can I use a static userdb or no?

Aki Tuomi via dovecot <[email protected]> Wed, 13 May 2026 19:26:13 +0300 (EEST)
Newsgroups gmane.mail.imap.dovecot
Message-ID <668980874.6838.1778689573407@appsuite-pro-sync-core-mw-groupware-1.appsuite-pro-sync-core-mw-hazelcast-headless.appsuite-dev.svc.cluster.local>
> On 13/05/2026 19:13 EEST social+17dw1scw--- via dovecot <[email protected]> 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

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]