diff --git a/cron.py b/cron.py index 2670bd99..3018234f 100644 --- a/cron.py +++ b/cron.py @@ -720,11 +720,6 @@ def check_custom_domain(): custom_domain=custom_domain, domain_dns_url=domain_dns_url, ), - render( - "transactional/custom-domain-dns-issue.html", - custom_domain=custom_domain, - domain_dns_url=domain_dns_url, - ), max_nb_alert=1, nb_day=30, ) diff --git a/templates/emails/transactional/custom-domain-dns-issue.html b/templates/emails/transactional/custom-domain-dns-issue.html deleted file mode 100644 index 42a167e3..00000000 --- a/templates/emails/transactional/custom-domain-dns-issue.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - {% call text() %} -

- {{ custom_domain.domain }} does not have the DNS set up correctly -

- {% endcall %} - - {% call text() %} - Please make sure to set up your domain following the instructions on your domain DNS page at - {{ custom_domain.domain }} DNS. - {% endcall %} - - {% call text() %} - Feel free reply to this email if you have any question.
- Best,
- SimpleLogin team. - {% endcall %} - -{% endblock %} - - diff --git a/templates/emails/transactional/custom-domain-dns-issue.txt.jinja2 b/templates/emails/transactional/custom-domain-dns-issue.txt.jinja2 index ef0988fa..df30a432 100644 --- a/templates/emails/transactional/custom-domain-dns-issue.txt.jinja2 +++ b/templates/emails/transactional/custom-domain-dns-issue.txt.jinja2 @@ -1,7 +1,9 @@ -We have detected that your domain {{ custom_domain.domain }} does not have the DNS set up correctly. +We have detected that your domain {{ custom_domain.domain }} doesn't have the DNS MX records correctly set up. -Please make sure to set up your domain following the instructions on your domain DNS page at: -{{ domain_dns_url }} +Please re-run the MX check on {{ domain_dns_url }} and update them if needed. + +Without the MX records correctly set up, emails sent to the {{ custom_domain.domain }}'s aliases + aren't properly and reliably handled. Feel free reply to this email if you have any question.