Browse Source

Correct configuration of imap plugins

Arjen Verstoep 7 years ago
parent
commit
46b234929a

+ 4
- 0
roles/mailserver/tasks/dovecot.yml View File

59
   template: src=etc_dovecot_conf.d_15-lda.conf.j2 dest=/etc/dovecot/conf.d/15-lda.conf
59
   template: src=etc_dovecot_conf.d_15-lda.conf.j2 dest=/etc/dovecot/conf.d/15-lda.conf
60
   notify: restart dovecot
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
 - name: Template dovecot-sql.conf.ext
66
 - name: Template dovecot-sql.conf.ext
63
   template: src=etc_dovecot_dovecot-sql.conf.ext.j2 dest=/etc/dovecot/dovecot-sql.conf.ext
67
   template: src=etc_dovecot_dovecot-sql.conf.ext.j2 dest=/etc/dovecot/dovecot-sql.conf.ext
64
   notify: restart dovecot
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 View File

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

Loading…
Cancel
Save