This commit is contained in:
parent
b0b55a7e5c
commit
78bd7aed87
@ -10,7 +10,7 @@ dovecot-imap-user:
|
|||||||
dovecot-config-main-{{ name }}:
|
dovecot-config-main-{{ name }}:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ dovecot.config_dir }}/{{ name }}
|
- name: {{ dovecot.config_dir }}/{{ name }}
|
||||||
- source: salt://dovecot/files/config.j2
|
- source: salt://dovecot/templates/config.j2
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
@ -24,7 +24,7 @@ dovecot-config-main-{{ name }}:
|
|||||||
dovecot-config-conf.d-{{ name }}:
|
dovecot-config-conf.d-{{ name }}:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ dovecot.config_dir }}/conf.d/{{ name }}
|
- name: {{ dovecot.config_dir }}/conf.d/{{ name }}
|
||||||
- source: salt://dovecot/files/config.j2
|
- source: salt://dovecot/templates/config.j2
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
|
@ -26,9 +26,9 @@ dovecot:
|
|||||||
special_use: \Trash
|
special_use: \Trash
|
||||||
mailbox Drafts:
|
mailbox Drafts:
|
||||||
auto: "no"
|
auto: "no"
|
||||||
special_use: "Drafts"
|
special_use: \Drafts
|
||||||
mailbox Sent:
|
mailbox Sent:
|
||||||
auto: subscribe
|
auto: "subscribe"
|
||||||
special_use: \Sent
|
special_use: \Sent
|
||||||
mailbox "Sent Messages":
|
mailbox "Sent Messages":
|
||||||
auto: "no"
|
auto: "no"
|
||||||
@ -97,7 +97,7 @@ dovecot:
|
|||||||
lda_mailbox_autocreate: 'yes'
|
lda_mailbox_autocreate: 'yes'
|
||||||
lda_mailbox_autosubscribe: 'yes'
|
lda_mailbox_autosubscribe: 'yes'
|
||||||
protocol lda:
|
protocol lda:
|
||||||
mail_plugins: $mail_plugins autocreate sieve quota
|
mail_plugins: $mail_plugins sieve quota
|
||||||
postmaster_address: postmaster@example.com
|
postmaster_address: postmaster@example.com
|
||||||
hostname: host.example.com
|
hostname: host.example.com
|
||||||
auth_socket_path: /var/run/dovecot/auth-master
|
auth_socket_path: /var/run/dovecot/auth-master
|
||||||
@ -121,7 +121,7 @@ dovecot:
|
|||||||
20-lmtp.conf:
|
20-lmtp.conf:
|
||||||
protocol lmtp:
|
protocol lmtp:
|
||||||
postmaster_address: postmaster@example.com
|
postmaster_address: postmaster@example.com
|
||||||
mail_plugins: $mail_plugins autocreate sieve quota
|
mail_plugins: $mail_plugins sieve quota
|
||||||
log_path: /var/log/dovecot-lmtp-errors.log
|
log_path: /var/log/dovecot-lmtp-errors.log
|
||||||
info_log_path: /var/log/dovecot-lmtp.log
|
info_log_path: /var/log/dovecot-lmtp.log
|
||||||
20-submission:
|
20-submission:
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
{%- from "dovecot/map.jinja" import dovecot with context %}
|
{%- from "dovecot/map.jinja" import dovecot with context %}
|
||||||
|
|
||||||
dovecot-pkgs:
|
dovecot-pkgs:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs: {{ dovecot.pkgs }}
|
- pkgs: {{ dovecot.pkgs }}
|
||||||
|
Loading…
Reference in New Issue
Block a user