Cannot log in to IMAP server and logs are unclear as to why

Scott A. Wozny sawozny at hotmail.com
Fri Jun 5 02:31:12 EEST 2020


Hi Aki,

Thanks for the response.  I'm, unfortunately, a little confused.  This is the only line in /etc/dovecot/users:

test at test.com:{plain}test

Which matches your suggestion to use the full smtp address as the username and log in with it, which I did for my test.  Can you specify what it was you thought I should try differently?

Regardless, I see your point about trying a less complex username.  In the end, I want to host 3 small domains on one server which looks well within Dovecot's capability, but I'll try taking the use of the domain name out of the equation for now to try and narrow down / correct the errors.

Thanks,

Scott

________________________________
From: Aki Tuomi <aki.tuomi at open-xchange.com>
Sent: June 4, 2020 3:14 AM
To: Scott A. Wozny <sawozny at hotmail.com>; dovecot at dovecot.org <dovecot at dovecot.org>
Subject: Re: Cannot log in to IMAP server and logs are unclear as to why


> On 04/06/2020 02:51 Scott A. Wozny <sawozny at hotmail.com> wrote:
>
>
> I’m trying a super basic config based upon https://wiki.dovecot.org/HowTo/PostfixDovecotLMTP but before I work on shipping mail through Postfix to DoveCot, I wanted to make sure IMAP is working first, but I can’t even get a basic login to so I thought I’d see if the gurus on the list might be able to point out I’m doing wrong. The documentation is pretty good, but there were some gaps I had to guess at and I’m presuming that’s where I went wrong. I’ve turned SELinux to permissive mode, for now.
>
>
> Here’s the doveconf -n:
>
>
> # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf

<snip/>

auth_username_format = %Ln

should fix your problem.

alternatively you need to change /etc/dovecot/users to have

test at test.com:....

instead of

test:....

and log in always with full username.

Aki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200604/3765b389/attachment.html>


More information about the dovecot mailing list