# # {{ ansible_managed }} # # Optional lookup tables with all valid addresses in the domains that match # $relay_domains. Specify @domain as a wild-card for domains that have no valid # recipient list, and become a source of backscatter mail: Postfix accepts spam # for non-existent recipients and then floods innocent people with undeliverable # mail. Technically, tables listed with $relay_recipient_maps are used as lists: # Postfix needs to know only if a lookup string is found or not, but it does not # use the result from table lookup. # http://www.postfix.org/postconf.5.html#relay_recipient_maps {% for item in postfix_lmdb_relay_recipients_table_entries | default([]) %} {{ item.recipient }} {{ item.action }}{% if item.reason is defined %} {{ item.reason }}{% endif %} {% endfor %}