Browse Source

Use {{ mail_server_hostname }} over mail.servername

Resolves #402.
Alex Payne 9 years ago
parent
commit
417403f534
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      roles/mailserver/templates/etc_opendkim_TrustedHosts.j2
  2. 1
    1
      vars/defaults.yml

+ 2
- 2
roles/mailserver/templates/etc_opendkim_TrustedHosts.j2 View File

@@ -4,5 +4,5 @@
4 4
 {{ domain.name }}
5 5
 {% endfor %}
6 6
 {% for domain in mail_virtual_domains %}
7
-mail.{{ domain.name }}
8
-{% endfor %}
7
+{{ mail_server_hostname }}
8
+{% endfor %}

+ 1
- 1
vars/defaults.yml View File

@@ -100,7 +100,7 @@ openvpn_protocol: "udp"
100 100
 # openvpn_clients: (required)
101 101
 
102 102
 # webmail
103
-webmail_domain: "mail.{{ domain }}"
103
+webmail_domain: "{{ mail_server_hostname }}"
104 104
 webmail_db_username: "roundcube"
105 105
 # webmail_db_password: (required)
106 106
 webmail_db_database: "roundcube"

Loading…
Cancel
Save