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/IMAP/tasks/mda.yml | 2 +- roles/IMAP/templates/etc/postfix/main.cf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/IMAP') diff --git a/roles/IMAP/tasks/mda.yml b/roles/IMAP/tasks/mda.yml index ced15cc..1510103 100644 --- a/roles/IMAP/tasks/mda.yml +++ b/roles/IMAP/tasks/mda.yml @@ -27,7 +27,7 @@ - name: Compile the Postfix transport maps # trivial-rewrite(8) is a long-running process, so it's safer to reload - postmap: cmd=postmap src=/etc/postfix-{{ postfix_instance[inst].name }}/transport db=cdb + postmap: cmd=postmap src=/etc/postfix-{{ postfix_instance[inst].name }}/transport db=lmdb owner=root group=root mode=0644 notify: diff --git a/roles/IMAP/templates/etc/postfix/main.cf.j2 b/roles/IMAP/templates/etc/postfix/main.cf.j2 index a879d28..3d548ce 100644 --- a/roles/IMAP/templates/etc/postfix/main.cf.j2 +++ b/roles/IMAP/templates/etc/postfix/main.cf.j2 @@ -51,7 +51,7 @@ virtual_transport = lmtp:unix:private/dovecot-lmtpd lmtp_bind_address = 127.0.0.1 virtual_mailbox_domains = static:all virtual_mailbox_maps = static:all -#transport_maps = cdb:$config_directory/transport +#transport_maps = lmdb:$config_directory/transport # Restore the original envelope recipient relay_domains = -- cgit v1.2.3