From ac4e1fab77e1c597b441efd1fb9cc8d80d650b52 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Sat, 9 May 2020 22:58:27 +0200 Subject: [PATCH] email template to alert SPF --- templates/emails/transactional/spf-fail.html | 25 ++++++++++++++++++++ templates/emails/transactional/spf-fail.txt | 13 ++++++++++ 2 files changed, 38 insertions(+) create mode 100644 templates/emails/transactional/spf-fail.html create mode 100644 templates/emails/transactional/spf-fail.txt diff --git a/templates/emails/transactional/spf-fail.html b/templates/emails/transactional/spf-fail.html new file mode 100644 index 00000000..d8de6264 --- /dev/null +++ b/templates/emails/transactional/spf-fail.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} + +{% block content %} + {{ render_text("Hi " + name) }} + + {% call text() %} + We have recorded an attempt to send an email from your alias {{ alias }} from an unknown IP address + {{ ip }}. + {% endcall %} + + {% call text() %} + To prevent email-spoofing, SimpleLogin enforces the SPF (Sender Policy Framework). + Emails sent from an IP address that is unknown by your email service are refused by default. + {% endcall %} + + {% call text() %} + However you can turn off this option by going to {{ mailbox_url }}. + {% endcall %} + + {% call text() %} + Please only turn this protection off this if you know what you're doing :). + {% endcall %} + + {{ render_text('Thanks,
SimpleLogin Team.') }} +{% endblock %} diff --git a/templates/emails/transactional/spf-fail.txt b/templates/emails/transactional/spf-fail.txt new file mode 100644 index 00000000..e7ba08e7 --- /dev/null +++ b/templates/emails/transactional/spf-fail.txt @@ -0,0 +1,13 @@ +Hi {{name}} + +We have recorded an attempt to send an email from your alias {{ alias }} from an unknown IP address {{ ip }}. + +To prevent email-spoofing, SimpleLogin enforces the SPF (Sender Policy Framework). +Emails sent from an IP address that is unknown by your email service are refused by default. + +However you can turn off this option by going to {{mailbox_url}}. + +Please only turn this protection off this if you know what you're doing :). + +Best, +SimpleLogin team.