30 lines
535 B
Plaintext
30 lines
535 B
Plaintext
|
dovecot:
|
||
|
pkg.installed:
|
||
|
- pkgs:
|
||
|
- dovecot-core
|
||
|
- dovecot-imapd
|
||
|
- dovecot-sieve
|
||
|
- dovecot-managesieved
|
||
|
|
||
|
dovecot_certs_group:
|
||
|
group.present:
|
||
|
- name: ssl-cert
|
||
|
- system: true
|
||
|
- addusers:
|
||
|
- dovecot
|
||
|
|
||
|
dovecot_conf:
|
||
|
file.managed:
|
||
|
- mode: 0644
|
||
|
- names:
|
||
|
- /etc/dovecot/local.conf:
|
||
|
- source: salt://email/dovecot_local.conf
|
||
|
|
||
|
dovecot_service:
|
||
|
service.running:
|
||
|
- name: dovecot
|
||
|
- enable: true
|
||
|
- watch:
|
||
|
- pkg: dovecot
|
||
|
- file: /etc/dovecot/local.conf
|