Changeset - c0df2fc4a827
[Not reviewed]
0 1 0
Branko Majic (branko) - 9 years ago 2015-04-07 23:02:42
branko@majic.rs
MAR-4: Fixed the mydestination setting for mail server role to use inventory's hostname/FQDN.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
roles/mail_server/templates/main.cf.j2
Show inline comments
 
@@ -24,7 +24,7 @@ myhostname = mail
 
alias_maps = hash:/etc/aliases
 
alias_database = hash:/etc/aliases
 
myorigin = /etc/mailname
 
mydestination = mail.example.com, mail, localhost.localdomain, localhost
 
mydestination = {{ inventory_hostname }}, {{ inventory_hostname_short }}, localhost.localdomain, localhost
 
relayhost = 
 
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128{% for network in smtp_allow_relay_from  %} {{ network }}{% endfor %}
 

	
0 comments (0 inline, 0 general)