Selaa lähdekoodia

Correct configuration of imap plugins

Arjen Verstoep 7 vuotta sitten
vanhempi
commit
46b234929a

+ 4
- 0
roles/mailserver/tasks/dovecot.yml Näytä tiedosto

@@ -59,6 +59,10 @@
59 59
   template: src=etc_dovecot_conf.d_15-lda.conf.j2 dest=/etc/dovecot/conf.d/15-lda.conf
60 60
   notify: restart dovecot
61 61
 
62
+- name: Template 20-imap.conf
63
+  template: src=etc_dovecot_conf.d_20-imap.conf.j2 dest=/etc/dovecot/conf.d/20-imap.conf
64
+  notify: restart dovecot
65
+
62 66
 - name: Template dovecot-sql.conf.ext
63 67
   template: src=etc_dovecot_dovecot-sql.conf.ext.j2 dest=/etc/dovecot/dovecot-sql.conf.ext
64 68
   notify: restart dovecot

roles/mailserver/files/etc_dovecot_conf.d_20-imap.conf → roles/mailserver/templates/etc_dovecot_conf.d_20-imap.conf.j2 Näytä tiedosto

@@ -60,5 +60,5 @@ protocol imap {
60 60
 protocol lmtp {
61 61
   # Space separated list of plugins to load (default is global mail_plugins).
62 62
   mail_plugins = $mail_plugins sieve
63
-  postmaster_address = postmaster@{{domain}}
63
+  postmaster_address = postmaster@{{ domain }}
64 64
 }

Loading…
Peruuta
Tallenna