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

Andrei Petru Mura mapandrei at gmail.com
Mon Apr 13 13:33:43 EEST 2020


I retried with right user in thunderbird and it's working.
Thanks.

On Mon, Apr 13, 2020 at 1:20 PM Andrei Petru Mura <mapandrei at gmail.com>
wrote:

> I tried to log in as test at some_domain. From thunderbird client. Although,
> I get this logged after before mentioned log:
> imap-login: Disconnected (auth failed, 2 attempts in 14 secs):
> user=<test>, method=PLAIN, rip=some.ip.addr.here, lip=another.ip.addr.here,
> TLS, session=<rQT+ziijGE1tpoAB>
>
> On Mon, Apr 13, 2020 at 1:16 PM Ivo <
> c.e4ed1a035298f9021dcfbca4d511c303 at ultra.hr> wrote:
>
>> 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
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200413/e70d89ea/attachment.html>


More information about the dovecot mailing list