Skip to content

Commit

Permalink
Move MX record to its own subdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Aug 15, 2024
1 parent 7aa876a commit 261f51e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmdeploy/src/cmdeploy/chatmail.zone.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
{% if AAAA %}
{{ mail_domain }}. AAAA {{ AAAA }}
{% endif %}
{{ mail_domain }}. MX 10 {{ mail_domain }}.
{{ mail_domain }}. MX 10 mx.{{ mail_domain }}.
_mta-sts.{{ mail_domain }}. TXT "v=STSv1; id={{ sts_id }}"
mta-sts.{{ mail_domain }}. CNAME {{ mail_domain }}.
www.{{ mail_domain }}. CNAME {{ mail_domain }}.
mx.{{ mail_domain }}. CNAME {{ mail_domain }}.
{{ dkim_entry }}

;
Expand Down
2 changes: 1 addition & 1 deletion cmdeploy/src/cmdeploy/nginx/mta-sts.txt.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: STSv1
mode: enforce
mx: {{ config.domain_name }}
mx: mx.{{ config.domain_name }}
max_age: 2419200

0 comments on commit 261f51e

Please sign in to comment.