summaryrefslogtreecommitdiffstats
path: root/roles/IMAP
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-05-21 03:42:52 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-05-21 03:42:54 +0200
commit6fb829e49d421de9abac41325f5089357bf27f82 (patch)
tree0223d7738c877ad13c103ca3130f59c992ce1d50 /roles/IMAP
parent6d1daa0424c168eae4bfa9f6772add3f77ec506f (diff)
Postfix: Install -lmdb in all roles using db=lmdb.
And drop -ldap from all roles other than MX. -lmdb is included in roles/common but it can be helpful to have it individual roles as well as they can be run individually.
Diffstat (limited to 'roles/IMAP')
-rw-r--r--roles/IMAP/tasks/mda.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/IMAP/tasks/mda.yml b/roles/IMAP/tasks/mda.yml
index f705fe7..0e8690d 100644
--- a/roles/IMAP/tasks/mda.yml
+++ b/roles/IMAP/tasks/mda.yml
@@ -1,26 +1,26 @@
- name: Install Postfix
apt: pkg={{ packages }}
vars:
packages:
- postfix
- - postfix-ldap
+ - postfix-lmdb
- name: Configure Postfix
template: src=etc/postfix/{{ item }}.j2
dest=/etc/postfix-{{ postfix_instance[inst].name }}/{{ item }}
owner=root group=root
mode=0644
with_items:
- main.cf
- master.cf
notify:
- Reload Postfix
- name: Copy the transport and recipient canonical maps
copy: src=etc/postfix/{{ item }}
dest=/etc/postfix-{{ postfix_instance[inst].name }}/{{ item }}
owner=root group=root
mode=0644
with_items:
# no need to reload upon change, as cleanup(8) is short-running
- recipient_canonical.pcre