Closed rhysxevans closed 3 years ago
Hi,
It would be nice to specify the map database type per option if required.
IE there is a default postfix_default_database_type but we have the ability to overwrite if required
postfix_default_database_type
Something like (this works)
{% if postfix_sender_canonical_maps %} sender_canonical_maps = {{ postfix_sender_canonical_maps_database_type | default(postfix_default_database_type) }}:{{ postfix_sender_canonical_maps_file }} {% endif %} {% if postfix_recipient_canonical_maps %} recipient_canonical_maps = {{ postfix_recipient_canonical_maps_database_type | default(postfix_default_database_type) }}:{{ postfix_recipient_canonical_maps_file }} {% endif %}
this allows us to specify
postfix_sender_canonical_maps_database_type: regexp postfix_recipient_canonical_maps_database_type: regexp
To only override those specific map types if required
Thanks
Looks like a good idea!
Need this for smtp generic maps.
Fixed in https://github.com/Oefenweb/ansible-postfix/releases/tag/v3.2.0
Hi,
It would be nice to specify the map database type per option if required.
IE there is a default
postfix_default_database_type
but we have the ability to overwrite if requiredSomething like (this works)
this allows us to specify
To only override those specific map types if required
Thanks