62 lines
1014 B
Plaintext
62 lines
1014 B
Plaintext
# {{ 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}}
|