Sender verification and virtual alias map from inventory

This commit is contained in:
Julian Rother 2023-03-16 03:42:53 +01:00
parent 8e25214790
commit 53aeb56e54
No known key found for this signature in database
GPG key ID: 8F9B6AE9BAAE4899
6 changed files with 145 additions and 2 deletions

7
templates/virtual.in.j2 Normal file
View file

@ -0,0 +1,7 @@
# {{ ansible_managed }}
{% for alias, receivers in postfix.aliases|postfix_resolve_receivers|dictsort if receivers %}
{{ alias }}
{% for receiver in receivers|sort %}
{{ receiver }}
{% endfor %}
{% endfor %}