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

2020-04-13 Thread Andrei Petru Mura
I retried with right user in thunderbird and it's working.
Thanks.

On Mon, Apr 13, 2020 at 1:20 PM Andrei Petru Mura 
wrote:

> I tried to log in as test@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=, method=PLAIN, rip=some.ip.addr.here, lip=another.ip.addr.here,
> TLS, session=
>
> On Mon, Apr 13, 2020 at 1:16 PM Ivo <
> c.e4ed1a035298f9021dcfbca4d511c...@ultra.hr> wrote:
>
>> Did you try to log in as user "test" or "test@some_domain" ?
>> Is seems to me that you did not use full username (Error:
>> passwd-file(test,).
>> ( %d domain domain part in user@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,):
>> > 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
>>
>>


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

2020-04-13 Thread Ivo

Did you try to log in as user "test" or "test@some_domain" ?
Is seems to me that you did not use full username (Error: 
passwd-file(test,).

( %d domain domain part in user@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,): 
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




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

2020-04-13 Thread Andrei Petru Mura
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,):
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