123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- auth_mechanisms = plain login
- auth_verbose = yes
-
- first_valid_gid = 7788
- first_valid_uid = 7788
- last_valid_gid = 7788
- last_valid_uid = 7788
-
- mail_location = maildir:/var/email/%d/%n/Maildir:LAYOUT=fs
- mail_privileged_group = email
- mail_debug = yes
-
- ssl_cert = </etc/ssl/certs/fullchain.pem
- ssl_key = </etc/ssl/certs/privkey.pem
-
- log_timestamp = "%Y-%m-%d %H:%M:%S "
- log_path = /dev/stderr
-
- postmaster_address = {{ salt['pillar.get']("model:dovecot:postmaster") }}
-
- protocols = imap sieve lmtp
-
- passdb {
- args = /etc/dovecot/dovecot-pgsql.conf
- driver = sql
- }
-
- service auth {
- executable = /usr/lib/dovecot/auth
- inet_listener {
- port = {{ salt['pillar.get']("model:dovecot:sasl:port") }}
- address = 0.0.0.0
- }
- unix_listener auth-master {
- group = email
- mode = 0600
- user = email
- }
- }
-
- userdb {
- args = /etc/dovecot/dovecot-pgsql.conf
- driver = sql
- }
-
- protocol lda {
- auth_socket_path = /var/run/dovecot/auth-master
- mail_plugins = sieve
- postmaster_address = {{ salt['pillar.get']("model:dovecot:postmaster") }}
- }
-
- protocol lmtp {
- mail_plugins = sieve
- }
-
- plugin {
- sieve = ~/.dovecot.sieve
- sieve_dir = ~/sieve
-
- sieve_global_dir = /etc/dovecot/sieve/include/
- sieve_default = /etc/dovecot/sieve/default.sieve
- sieve_before = /etc/dovecot/sieve/before/
- sieve_after = /etc/dovecot/sieve/after/
- }
-
- service managesieve-login {
- inet_listener sieve {
- address = 0.0.0.0
- }
- }
-
- service lmtp {
- inet_listener lmtp {
- address = 0.0.0.0
- port = {{ salt['pillar.get']("model:dovecot:lmtp:port") }}
- }
- }
-
- namespace inbox {
- type = private
- separator = .
- inbox = yes
- mailbox Drafts {
- special_use = \Drafts
- auto = subscribe
- }
-
- mailbox Junk {
- special_use = \Junk
- auto = create
- }
-
- mailbox spam {
- special_use = \Junk
- auto = no
- }
-
- mailbox Spam {
- special_use = \Junk
- auto = no
- }
-
- mailbox Trash {
- special_use = \Trash
- auto = subscribe
- }
-
- mailbox TRASH {
- special_use = \Trash
- auto = no
- }
-
- mailbox Sent {
- special_use = \Sent
- auto = subscribe
- }
-
- mailbox "Sent Mail" {
- special_use = \Sent
- auto = no
- }
-
- mailbox "Sent Messages" {
- special_use = \Sent
- auto = no
- }
-
- mailbox Archive {
- special_use = \Archive
- auto = create
- }
-
- mailbox "Archives" {
- special_use = \Archive
- auto = no
- }
- }
|