feat(config): run postmap also for regexp maps

This commit is contained in:
Holger Fischer 2020-07-18 20:14:36 +02:00
parent 75fcd4af70
commit 7584fce0af

View File

@ -117,7 +117,7 @@ postfix_{{ domain }}_ssl_key:
{%- if not file_path.startswith('/') %} {%- if not file_path.startswith('/') %}
{%- set file_path = postfix.config_path ~ '/' ~ file_path %} {%- set file_path = postfix.config_path ~ '/' ~ file_path %}
{%- endif %} {%- endif %}
{%- if file_type in ("btree", "cdb", "dbm", "hash", "sdbm") %} {%- if file_type in ("btree", "cdb", "dbm", "hash", "sdbm", "regexp") %}
{%- set need_postmap = True %} {%- set need_postmap = True %}
{%- endif %} {%- endif %}
postfix_{{ mapping }}: postfix_{{ mapping }}: