We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a22fe9 commit f41b640Copy full SHA for f41b640
1 file changed
roles/postfix/tasks/main.yaml
@@ -103,6 +103,15 @@
103
- template: src=dovecot-ldap.conf.ext.j2 dest=/etc/dovecot/dovecot-ldap.conf.ext
104
notify: restart_dovecot
105
106
+- name: provide global uid/gid to dovecot
107
+ lineinfile:
108
+ dest: /etc/dovecot/dovecot.conf
109
+ line: "{{ item }}"
110
+ state: present
111
+ with_items:
112
+ - "mail_uid = postman"
113
+ - "mail_gid = postman"
114
+
115
#- lineinfile: dest=/etc/postfix/main.cf line="content_filter=smtp-amavis:[127.0.0.1]:10024" state=present
116
# notify: restart_postfix
117
0 commit comments