Код: Выделить всё
base_dir = /var/run/dovecot
protocols = imap
listen = *
disable_plaintext_auth = no
shutdown_clients = yes
ssl = no
mail_location = maildir:/var/mail/exim/%Lu
mail_privileged_group = mail
verbose_proctitle = yes
first_valid_uid = 26
last_valid_uid = 26
first_valid_gid = 26
last_valid_gid = 26
maildir_copy_with_hardlinks = yes
login_greeting = dovecot MUA ready
protocol imap {
imap_client_workarounds = delay-newmail outlook-idle tb-extra-mailbox-sep
}
protocol lda {
postmaster_address = postmaster@domain.com
sendmail_path = /usr/sbin/sendmail
auth_socket_path = /var/run/dovecot/auth-master
# log_path = /var/log/dovecot/deliver.log
# info_log_path = /var/log/dovecot/deliver.log
}
auth_cache_size = 1024
auth_username_format = %Lu
auth default {
mechanisms = plain
passdb pam {
args = exim
}
userdb static {
args = uid=26 gid=26 home=/var/mail/exim/%Lu allow_all_users=yes
}
user = root
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
# Default user/group is the one who started dovecot-auth (root)
user = mailnull
#group = mail
}
}
}