From dcdb8cd6b1b525fc8eacd509586da3396c068251 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 3 Dec 2018 03:18:56 +0100 Subject: Postfix: replace cdb & btree tables with lmdb ones. Cf. lmdb_table(5). --- roles/MSA/tasks/main.yml | 2 +- roles/MSA/templates/etc/postfix/main.cf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/MSA') diff --git a/roles/MSA/tasks/main.yml b/roles/MSA/tasks/main.yml index 00c205d..4f32df3 100644 --- a/roles/MSA/tasks/main.yml +++ b/roles/MSA/tasks/main.yml @@ -52,7 +52,7 @@ - name: Compile the check_sender_access map # no need to reload upon change, as cleanup(8) is short-running - postmap: cmd=postmap src=/etc/postfix-{{ postfix_instance[inst].name }}/check_sender_access db=cdb + postmap: cmd=postmap src=/etc/postfix-{{ postfix_instance[inst].name }}/check_sender_access db=lmdb owner=root group=root mode=0644 notify: diff --git a/roles/MSA/templates/etc/postfix/main.cf.j2 b/roles/MSA/templates/etc/postfix/main.cf.j2 index 79808d5..7d7cb6d 100644 --- a/roles/MSA/templates/etc/postfix/main.cf.j2 +++ b/roles/MSA/templates/etc/postfix/main.cf.j2 @@ -103,7 +103,7 @@ smtpd_sender_login_maps = socketmap:unix:private/sender-login:sender_login smtpd_sender_restrictions = reject_non_fqdn_sender reject_unknown_sender_domain - check_sender_access cdb:$config_directory/check_sender_access + check_sender_access lmdb:$config_directory/check_sender_access reject_known_sender_login_mismatch smtpd_relay_restrictions = -- cgit v1.2.3