This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-role-warehost/mailserver/templates/dovecot.conf

62 lines
1014 B
Plaintext
Raw Normal View History

2016-11-25 00:04:34 +01:00
# {{ ansible_managed }}
protocols = imap pop3 sieve
auth_mechanisms = plain login
#ipv4 only -> *,:: for both (später)
listen = *,::
postmaster_address = hostmaster@{{mail_domain}}
passdb {
driver = checkpassword
args = /etc/dovecot/warehost-auth-dovecot
}
userdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf
}
protocol lda {
mail_plugins = $mail_plugins sieve
userdb {
driver = sql
args = /etc/dovecot/dovecot-sql_lda.conf
}
}
protocol sieve {
}
service auth {
unix_listener auth-client {
group = postfix
mode = 0660
user = postfix
}
user = root
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
service managesieve {
}
plugin {
sieve = ~/.dovecot.sieve
sieve_global_path = /var/lib/dovecot/sieve/default.sieve
sieve_dir = ~/sieve
sieve_global_dir = /var/lib/dovecot/sieve/global/
}
mail_home = maildir:{{mail_homedir}}/%u
mail_location = maildir:~
ssl = yes
ssl_cert = <{{mail_ssl_public}}
ssl_key = <{{mail_ssl_private}}