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

View file

@ -0,0 +1,7 @@
# {{ ansible_managed }}
{% for alias, senders in postfix.aliases|postfix_resolve_senders(postfix.sender_verification.match_sender_domain, postfix.sender_verification.allow_sender_domains)|dictsort if senders %}
{{ alias }}
{% for sender in senders|sort %}
{{ sender }}
{% endfor %}
{% endfor %}