diff --git a/postfix-relay/templates/mailname.j2 b/postfix-relay/templates/mailname.j2 new file mode 100644 index 00000000..5014bf13 --- /dev/null +++ b/postfix-relay/templates/mailname.j2 @@ -0,0 +1,6 @@ +{% if hostname is defined %} +{{ hostname }} +{% else %} +{{ ansible_fqdn }} +{% endif %} +