Always set_from_header

This commit is contained in:
nemunaire 2023-05-02 20:53:18 +02:00
parent beee9c1128
commit 56eaf83ba8

View File

@ -1,9 +1,9 @@
defaults defaults
account here account here
set_from_header on
{% if rewrite_domain is defined %} {% if rewrite_domain is defined %}
from root@{{ rewrite_domain }} from root@{{ rewrite_domain }}
set_from_header on
{% else %} {% else %}
from root@{{ ansible_hostname }}.{{ ansible_domain }} from root@{{ ansible_hostname }}.{{ ansible_domain }}
{% endif %} {% endif %}