add mynetwork to smtp config
This commit is contained in:
parent
c52f9be563
commit
667ccf6ce9
@ -26,7 +26,7 @@ alias_database = hash:/etc/aliases
|
|||||||
myorigin = /etc/mailname
|
myorigin = /etc/mailname
|
||||||
mydestination = {{ansible_hostname}}.{{external_domain}}, $myhostname, {{ansible_hostname}}, localhost.localdomain, localhost
|
mydestination = {{ansible_hostname}}.{{external_domain}}, $myhostname, {{ansible_hostname}}, localhost.localdomain, localhost
|
||||||
relayhost = [{{postfix_relayhost}}]
|
relayhost = [{{postfix_relayhost}}]
|
||||||
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
|
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 {{ansible_default_ipv4.network}}/24
|
||||||
mailbox_size_limit = 0
|
mailbox_size_limit = 0
|
||||||
recipient_delimiter = +
|
recipient_delimiter = +
|
||||||
inet_interfaces = all
|
inet_interfaces = all
|
||||||
|
Loading…
Reference in New Issue
Block a user