%d ignored from auth-passwdfile.conf.ext configuration file

Ivo c.e4ed1a035298f9021dcfbca4d511c303 at ultra.hr
Mon Apr 13 13:16:26 EEST 2020


Did you try to log in as user "test" or "test at some_domain" ?
Is seems to me that you did not use full username (Error: 
passwd-file(test,).
( %d domain domain part in user at domain, empty if user with no domain )


On 13.4.2020. 11:05, Andrei Petru Mura wrote:
> I try to configure dovecot with virtual users. I put my users file in 
> folder /etc/dovecot/my_domain_name/users.
> My auth-passwdfile.conf.ext file looks like this:
> passdb {
>   driver = passwd-file
>   args = username_format=%n /etc/dovecot/%d/users
> }
>
> When I try to log in, I get this:
> dovecot: auth: Error: 
> passwd-file(test,some.ip.addr.here,<rQT+ziijGE1tpoAB>): 
> stat(/etc/dovecot//users) failed: No such file or directory
>
> As you can see, %d isn't interpreted. Why is this happening? Any hints?
>
> Thanks,
> Mura Andrei



More information about the dovecot mailing list