diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-12-03 03:18:56 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-12-03 03:43:41 +0100 |
commit | dcdb8cd6b1b525fc8eacd509586da3396c068251 (patch) | |
tree | 0ea6c49af37faf4b8b33b366506aedbf374a5968 /roles/common/tasks | |
parent | 78a300a2430cb2652c7839cd35400cc22122c798 (diff) |
Postfix: replace cdb & btree tables with lmdb ones.
Cf. lmdb_table(5).
Diffstat (limited to 'roles/common/tasks')
-rw-r--r-- | roles/common/tasks/clamav.yml | 2 | ||||
-rw-r--r-- | roles/common/tasks/mail.yml | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/roles/common/tasks/clamav.yml b/roles/common/tasks/clamav.yml index 1c68598..28a8460 100644 --- a/roles/common/tasks/clamav.yml +++ b/roles/common/tasks/clamav.yml @@ -26,6 +26,6 @@ line="clamav{{':'}} root" - name: Compile the static local Postfix database - postmap: cmd=postalias src=/etc/aliases db=cdb + postmap: cmd=postalias src=/etc/aliases db=lmdb owner=root group=root mode=0644 diff --git a/roles/common/tasks/mail.yml b/roles/common/tasks/mail.yml index 7692c28..49815f5 100644 --- a/roles/common/tasks/mail.yml +++ b/roles/common/tasks/mail.yml @@ -4,7 +4,7 @@ # That one is nicer than GNU mailutils' mailx(1) - s-nail - postfix - - postfix-cdb + - postfix-lmdb - name: Create Postfix instances postmulti: instance={{ postfix_instance[item].name }} @@ -47,11 +47,11 @@ - { src: root, dst: 'root@fripost.org' } - name: Compile the static local Postfix database - postmap: cmd=postalias src=/etc/aliases db=cdb + postmap: cmd=postalias src=/etc/aliases db=lmdb owner=root group=root mode=0644 -# We're using CDB +# We're using LMDB - name: Delete /etc/aliases.db file: path=/etc/aliases.db state=absent |