I have a problem with Dovecot configuration.
I installed full pack VestaCP (Hosting Control Panel), it's included Dovecot.
(Early, i configure many servers with this panel, and everything works ok)
After adding new email address by panel, i trying connecting by Apple Mail and Mozila thunderbird, but mail client shows error about invalid email/password.
In /var/log/dovecot.log
i finded this:
imap-login: Info: Aborted login (auth failed, 2 attempts in 1 secs): user=<>, method=LOGIN, rip=x.x.x.x, lip=y.y.y.y, TLS, session=<zzz>
Why "user=<>
" ? I think there should be an email there, but it's empty?
В почтовом клиенте логин, конечно же, указан.
Если поможет:
Я исправил это!
В панели vesta я захожу в «Пользователь» и делаю «Восстановить почту».
После этого в dovecot.log я обнаружил новую ошибку :
Error: User initialization failed: namespace configuration error: Duplicate namespace prefix: ""
imap: Error: Invalid user settings. Refer to server log for more information.
Решение этой проблемы Я нашел здесь
После удаления файла /etc/dovecot/conf.d/15-mailboxes.conf и перезапуска службы все работает!