dovecon.log
Jun 09 11:53:35 lda: Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: No such file or directory
Jun 09 11:53:35 lda: Fatal: Internal error occurred. Refer to server log for more information.
mail.log
Jun 9 12:23:51 mail postfix/pipe[1973]: BACB523A27F: to=<root@domain.ru>, orig_to=<root>, relay=dovecot, delay=56708, delays=56707/0.53/0/0.24, dsn=4.3.0, status=deferred (temporary failure)
dovecot.conf
#!include conf.d/*.conf
protocols = imap pop3
listen = *
shutdown_clients = yes
mail_uid = vmail
mail_gid = vmail
first_valid_uid = 5000
last_valid_uid = 5000
log_path = /var/log/dovecot.log
mail_debug = no
auth_verbose = no
auth_debug = no
auth_debug_passwords = no
# SSL
ssl = yes
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/privat/dovecot.pem
disable_plaintext_auth = yes
mail_location = maildir:/home/vmail/%d/%n
auth_default_realm =
auth_mechanisms = PLAIN
service auth {
unix_listener /var/spool/postfix/private/auth {
user = postfix
group = postfix
mode = 0660
}
unix_listener auth-master {
user = vmail
group = vmail
mode = 0660
}
unix_listener auth-userdb {
user = vmail
group = vmail
mode = 0660
}
}
userdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
# Plugins
plugin {
auth_socket_path = /usr/lib/dovecot/deliver
autocreate = INBOX
autocreate2 = Sent
autocreate3 = Trash
autocreate4 = Drafts
autocreate5 = Junk
autosubscribe = INBOX
autosubscribe2 = Sent
autosubscribe3 = Trash
autosubscribe4 = Drafts
autosubscribe5 = Junk
}
protocol imap {
imap_client_workarounds = tb-extra-mailbox-sep
mail_plugins = autocreate
}
protocol pop3 {
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
postmaster_address = postmaster@domain.ru
hostname = mail.domain.ru
# Space separated list of plugins to load (default is global mail_plugins).
mail_plugins = $mail_plugins
}