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
 {{ domain.name }}
4
 {{ domain.name }}
5
 {% endfor %}
5
 {% endfor %}
6
 {% for domain in mail_virtual_domains %}
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
 # openvpn_clients: (required)
100
 # openvpn_clients: (required)
101
 
101
 
102
 # webmail
102
 # webmail
103
-webmail_domain: "mail.{{ domain }}"
103
+webmail_domain: "{{ mail_server_hostname }}"
104
 webmail_db_username: "roundcube"
104
 webmail_db_username: "roundcube"
105
 # webmail_db_password: (required)
105
 # webmail_db_password: (required)
106
 webmail_db_database: "roundcube"
106
 webmail_db_database: "roundcube"

Loading…
Cancel
Save