Merge pull request #113 from hoonetorg/master

run postmap also for regexp maps
This commit is contained in:
Felipe Zipitría 2020-07-18 15:46:42 -03:00 committed by GitHub
commit a10af42b16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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