mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
Compare commits
1 Commits
j4n/docker
...
link2xt/mx
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54ad9551d1 |
@@ -19,3 +19,4 @@ $TTL 300
|
|||||||
mta-sts.staging-ipv4.testrun.org. CNAME staging-ipv4.testrun.org.
|
mta-sts.staging-ipv4.testrun.org. CNAME staging-ipv4.testrun.org.
|
||||||
iroh.staging-ipv4.testrun.org. CNAME staging-ipv4.testrun.org.
|
iroh.staging-ipv4.testrun.org. CNAME staging-ipv4.testrun.org.
|
||||||
www.staging-ipv4.testrun.org. CNAME staging-ipv4.testrun.org.
|
www.staging-ipv4.testrun.org. CNAME staging-ipv4.testrun.org.
|
||||||
|
mx.staging-ipv4.testrun.org. CNAME staging-ipv4.testrun.org.
|
||||||
|
|||||||
@@ -19,4 +19,5 @@ $TTL 300
|
|||||||
mta-sts.staging2.testrun.org. CNAME staging2.testrun.org.
|
mta-sts.staging2.testrun.org. CNAME staging2.testrun.org.
|
||||||
iroh.staging2.testrun.org. CNAME staging2.testrun.org.
|
iroh.staging2.testrun.org. CNAME staging2.testrun.org.
|
||||||
www.staging2.testrun.org. CNAME staging2.testrun.org.
|
www.staging2.testrun.org. CNAME staging2.testrun.org.
|
||||||
|
mx.staging2.testrun.org. CNAME staging2.testrun.org.
|
||||||
|
|
||||||
|
|||||||
@@ -65,6 +65,8 @@
|
|||||||
- fix Dovecot quota_max_mail_size to use max_message_size config value
|
- fix Dovecot quota_max_mail_size to use max_message_size config value
|
||||||
([#438](https://github.com/deltachat/chatmail/pull/438))
|
([#438](https://github.com/deltachat/chatmail/pull/438))
|
||||||
|
|
||||||
|
- Move MX record to its own subdomain
|
||||||
|
([#403](https://github.com/deltachat/chatmail/pull/403))
|
||||||
|
|
||||||
## 1.4.1 2024-07-31
|
## 1.4.1 2024-07-31
|
||||||
|
|
||||||
|
|||||||
@@ -616,7 +616,12 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None:
|
|||||||
deploy_iroh_relay(config)
|
deploy_iroh_relay(config)
|
||||||
|
|
||||||
# Deploy acmetool to have TLS certificates.
|
# Deploy acmetool to have TLS certificates.
|
||||||
tls_domains = [mail_domain, f"mta-sts.{mail_domain}", f"www.{mail_domain}"]
|
tls_domains = [
|
||||||
|
mail_domain,
|
||||||
|
f"mta-sts.{mail_domain}",
|
||||||
|
f"www.{mail_domain}",
|
||||||
|
f"mx.{mail_domain}",
|
||||||
|
]
|
||||||
deploy_acmetool(
|
deploy_acmetool(
|
||||||
domains=tls_domains,
|
domains=tls_domains,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -7,10 +7,11 @@
|
|||||||
{% if AAAA %}
|
{% if AAAA %}
|
||||||
{{ mail_domain }}. AAAA {{ AAAA }}
|
{{ mail_domain }}. AAAA {{ AAAA }}
|
||||||
{% endif %}
|
{% 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 }}. TXT "v=STSv1; id={{ sts_id }}"
|
||||||
mta-sts.{{ mail_domain }}. CNAME {{ mail_domain }}.
|
mta-sts.{{ mail_domain }}. CNAME {{ mail_domain }}.
|
||||||
www.{{ mail_domain }}. CNAME {{ mail_domain }}.
|
www.{{ mail_domain }}. CNAME {{ mail_domain }}.
|
||||||
|
mx.{{ mail_domain }}. CNAME {{ mail_domain }}.
|
||||||
{{ dkim_entry }}
|
{{ dkim_entry }}
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
version: STSv1
|
version: STSv1
|
||||||
mode: enforce
|
mode: enforce
|
||||||
mx: {{ config.domain_name }}
|
mx: mx.{{ config.domain_name }}
|
||||||
max_age: 2419200
|
max_age: 2419200
|
||||||
|
|||||||
Reference in New Issue
Block a user