Делаю авторизацию на почтовом сервере(exim4+dovecot) с авторизацией виртуальных юзеров через файл. Конфиг dovecot:
disable_plaintext_auth = no
auth_username_format = %Lu
auth_verbose = yes
auth_mechanisms = plain login
!include auth-passwdfile.conf.ext
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot-info.log
mail_location = maildir:/var/mail/%u
ssl = no
passdb {
driver = passwd-file
args = scheme=plain username_format=%u /etc/dovecot/passwd
}
userdb {
driver = passwd-file
args = username_format=%u /etc/dovecot/passwd
{
zxc:{PLAIN}hello123
Но когда авторизуюсь в почтовом клиенте, пишет следующее: dovecot.log
Feb 13 13:20:35 auth: Error: passwd-file /etc/dovecot/passwd: User zxc is missing userdb info
Feb 13 13:20:35 auth-worker(13988): Error: passwd-file /etc/dovecot/passwd: User zxc is missing userdb info
Feb 13 13:20:37 imap(zxc): Fatal: Level not defined for user [zxc]
Feb 13 13:20:39 imap(zxc): Fatal: Level not defined for user [zxc]
Feb 13 13:21:11 imap(zxc): Fatal: Level not defined for user [zxc]
Feb 13 13:21:13 imap(zxc): Fatal: Level not defined for user [zxc]
Feb 13 13:29:21 auth: Error: passwd-file /etc/dovecot/passwd: User zxc is missing userdb info
Feb 13 13:29:21 auth-worker(14293): Error: passwd-file /etc/dovecot/passwd: User zxc is missing userdb info
Feb 13 13:29:21 auth-worker(14294): Error: passwd-file /etc/dovecot/passwd: User zxc is missing userdb info
Feb 13 13:21:15 auth: Info: passwd-file(zxc@mail.net,192.168.0.15,<CAW/x9iZdwDAqAAP>): unknown user
Feb 13 13:21:19 auth-worker(13988): Info: pam(zxc@mail.net,192.168.0.15): pam_authenticate() failed: Authentication failure (password mismatch?)
Поправьте пожалуйста что сделал ни так?