1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

Merge branch 'master' of https://github.com/Xumeiquer/Mailu into Xumeiquer-master

This commit is contained in:
kaiyou 2017-09-10 19:28:00 +02:00
commit 9acad29a24
2 changed files with 12 additions and 0 deletions

View File

@ -29,6 +29,10 @@ HOSTNAME=mail.mailu.io
# Postmaster local part (will append the main mail domain)
POSTMASTER=admin
# DMARC rua and ruf email
DMARC_RUA=admin
DMARC_RUF=admin
# Docker-compose project name, this will prepended to containers names.
COMPOSE_PROJECT_NAME=mailu

View File

@ -42,7 +42,15 @@
</tr>
<tr>
<th>{% trans %}DNS DMARC entry{% endtrans %}</th>
{% if config["DMARC_RUA"] != "" and config["DMARC_RUF"] != "" %}
<td><pre>_dmarc.{{ domain.name }}. 600 IN TXT "v=DMARC1; p=reject; rua=mailto:{{ config["DMARC_RUA"] }}@{{ config["DOMAIN"] }}; ruf=mailto:{{ config["DMARC_RUF"] }}@{{ config["DOMAIN"] }}; adkim=s; aspf=s"</pre></td>
{% elif config["DMARC_RUA"] != "" %}
<td><pre>_dmarc.{{ domain.name }}. 600 IN TXT "v=DMARC1; p=reject; rua=mailto:{{ config["DMARC_RUA"] }}@{{ config["DOMAIN"] }}; adkim=s; aspf=s"</pre></td>
{% elif config["DMARC_RUF"] != "" %}
<td><pre>_dmarc.{{ domain.name }}. 600 IN TXT "v=DMARC1; p=reject; ruf=mailto:{{ config["DMARC_RUF"] }}@{{ config["DOMAIN"] }}; adkim=s; aspf=s"</pre></td>
{% else %}
<td><pre>_dmarc.{{ domain.name }}. 600 IN TXT "v=DMARC1; p=reject; rua=mailto:{{ config["POSTMASTER"] }}@{{ config["DOMAIN"] }}; adkim=s; aspf=s"</pre></td>
{% endif %}
</tr>
{% endif %}
</tbody>