changed hostname for postfix

This commit is contained in:
2022-11-19 14:46:30 +01:00
parent 100b6a149d
commit b7b744da42
2 changed files with 2 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
hostname: mail.universe.local
postfix: true postfix: true
postgrey: true postgrey: true
dovecot: true dovecot: true

View File

@@ -18,7 +18,7 @@
- {key: "maillog_file", value: "/var/log/postfix.log"} - {key: "maillog_file", value: "/var/log/postfix.log"}
- {key: "message_size_limit", value: "0"} - {key: "message_size_limit", value: "0"}
- {key: "milter_default_action", value: "accept"} - {key: "milter_default_action", value: "accept"}
- {key: "mydestination", value: "'localhost, kashyyyk, coruscant'"} - {key: "mydestination", value: "'localhost, kashyyyk, coruscant, $myhostname'"}
- {key: "myhostname", value: "{{ hostname | default(ansible_hostname) }}"} - {key: "myhostname", value: "{{ hostname | default(ansible_hostname) }}"}
- {key: "mynetworks", value: "'{{ mynetworks }}'"} - {key: "mynetworks", value: "'{{ mynetworks }}'"}
- {key: "mynetworks_style", value: "subnet"} - {key: "mynetworks_style", value: "subnet"}