Explorar el Código

Use {{ mail_server_hostname }} over mail.servername

Resolves #402.
Alex Payne hace 9 años
padre
commit
417403f534
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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…
Cancelar
Guardar