From 6749cf61c705a9cceb7c07951692f5109eff136e Mon Sep 17 00:00:00 2001 From: Christian Carstensen Date: Tue, 28 Jul 2020 16:05:43 +0200 Subject: [PATCH] do not use virtual mailboxes, but virtual aliases --- templates/main.cf.j2 | 2 +- templates/virtual-mailboxes.cf.j2 | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 templates/virtual-mailboxes.cf.j2 diff --git a/templates/main.cf.j2 b/templates/main.cf.j2 index b45178c..3b3b049 100644 --- a/templates/main.cf.j2 +++ b/templates/main.cf.j2 @@ -106,8 +106,8 @@ virtual_transport = dovecot {% endif %} # Virtual maps +virtual_alias_domains = {{ postfix.virtual_alias_domains|join(' ') }} virtual_alias_maps = {{ postfix.virtual_alias_maps }} -virtual_mailbox_domains = {{ postfix.virtual_mailbox_domains|join(' ') }} # opendkim diff --git a/templates/virtual-mailboxes.cf.j2 b/templates/virtual-mailboxes.cf.j2 deleted file mode 100644 index 5610cfc..0000000 --- a/templates/virtual-mailboxes.cf.j2 +++ /dev/null @@ -1,9 +0,0 @@ -{% if postfix.ldap.enable %} -server_host = {{ postfix.ldap.server.host }} -server_port = {{ postfix.ldap.server.port }} -search_base = {{ postfix.ldap.search_base }} -query_filter = {{ postfix.ldap.filter }} -result_attribute = {{ postfix.ldap.result_attributes.mailboxes }} -{% else %} -# LDAP is not configured for this server. -{% endif %}