You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-utils-2.1-server/profile/mail/etc/dovecot/dovecot.conf.2.0

40 lines
846 B

# Calculate format=dovecot chmod=0644 chown=root:root name=dovecot.conf pkg(dovecot)>=2.0
#?sr_mail_type==all#
protocols = imap pop3
#sr_mail_type#
#?sr_mail_type==imap#
protocols = imap
#sr_mail_type#
#?sr_mail_type==pop3#
protocols = pop3
#sr_mail_type#
!auth_debug = del
!mail_location = maildir:#-sr_mail_path-#/%u
!protocol imap {
listen = *:143
ssl_listen = *:993
}
!protocol pop3 {
listen = *:110
ssl_listen = *:995
}
!disable_plaintext_auth = del
!ssl_disable = del
!ssl = del
!auth default {
# Удаляем аутенфикацию pam
!passdb pam {
args = "*"
}
# Аутенфикация LDAP
!passdb ldap {
# Путь к конфигурационному файлу
args = /etc/dovecot/dovecot-ldap.conf
}
}
!ssl_cert_file = del
!ssl_key_file = del
!listen = del
!include conf.d/*.conf