On 31/12/2022 18:50, Aki Tuomi wrote:
As the log files shows:
Error: conn unix:auth-worker (pid=13471,uid=129): auth-worker<1>: passwd-file(*@example.com): passwd-file: User iteration isn't currently supported with %variable paths
This does not change by providing a domain, it still has a %variable, so it won't work.
Aki
But I think it's meant to work - if you look at https://www.mail-archive.com/dovecot@dovecot.org/msg63918.html from 2015, Timo says:
Use userdb passwd-file to get iteration working. passdb isn't used for iteration. userdb static can't be used to iterate.
If I understand this correctly, I can use wildcards if userdb has a passwd-file driver. My setup is:
passdb { driver = passwd-file args = /var/mail/vhosts/%d/shadow } userdb { driver = passwd-file args = /var/mail/vhosts/%d/passwd }