I'm using Dovecot with passdb as a user database:
passdb {
args = scheme=sha512-crypt /etc/mail/passwd
driver = passwd-file
}
userdb {
args = uid=vmail gid=vmail home=/var/vmail/%d/%n
driver = static
}
I cannot use the -A
flag with any doveadm commands (whereas using -u user
works). For example:
$ doveadm expunge -A mailbox Trash all
Error: User listing returned failure
doveadm: Error: Failed to iterate through some users
The dovecot log shows:
... dovecot[1225]: auth: Error: Trying to iterate users, but userdbs don't support it
Is there a way to configure this support or is this simply a limitation?