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 %}