Skip to content

Commit

Permalink
Fix database type
Browse files Browse the repository at this point in the history
  • Loading branch information
sblaisot committed Apr 3, 2019
1 parent 0fa9dc4 commit 75d2349
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
command: postmap hash:/etc/postfix/sender_canonical_maps

- name: postmap recipient_canonical_maps
command: postmap {{ postfix_default_database_type }}:/etc/postfix/recipient_canonical_maps
command: postmap hash:/etc/postfix/recipient_canonical_maps

- name: postmap generic
command: postmap hash:/etc/postfix/generic
Expand Down
2 changes: 1 addition & 1 deletion templates/etc/postfix/main.cf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ virtual_alias_maps = hash:/etc/postfix/virtual
sender_canonical_maps = hash:/etc/postfix/sender_canonical_maps
{% endif %}
{% if postfix_recipient_canonical_maps %}
recipient_canonical_maps = {{ postfix_default_database_type }}:/etc/postfix/recipient_canonical_maps
recipient_canonical_maps = hash:/etc/postfix/recipient_canonical_maps
{% endif %}
{% if postfix_generic %}
smtp_generic_maps = hash:/etc/postfix/generic
Expand Down

0 comments on commit 75d2349

Please sign in to comment.