add link to the anti phishing page

This commit is contained in:
Son 2022-04-14 09:28:26 +02:00
parent 95770de4d5
commit 1709de93ef
3 changed files with 11 additions and 5 deletions

View File

@ -41,10 +41,13 @@ def apply_dmarc_policy_for_forward_phase(
)
changed_msg = add_header(
msg,
f"""This email failed anti-phishing checks when it was received by SimpleLogin, be careful with its content.""",
f"""This email failed anti-phishing checks when it was received by SimpleLogin, be careful with its content.
More info on https://simplelogin.io/docs/getting-started/anti-phishing/
""",
f"""
<p style="color:red">
This email failed anti-phishing checks when it was received by SimpleLogin, be careful with its content.
This email failed anti-phishing checks when it was received by SimpleLogin, be careful with its content.
More info on <a href="https://simplelogin.io/docs/getting-started/anti-phishing/">anti-phishing measure</a>
</p>
""",
)

View File

@ -8,8 +8,8 @@
{% endcall %}
{% call text() %}
An email from {{ from_header }} to {{ alias.email }} is put into Quarantine as it fails DMARC check.
DMARC is an email authentication protocol designed for detecting phishing.
An email from {{ from_header }} to {{ alias.email }} is put into Quarantine as it fails
<a href="https://simplelogin.io/docs/getting-started/anti-phishing/">anti-phishing measure</a> check.
{% endcall %}
{{ render_button("View the original email", refused_email_url) }}

View File

@ -1,8 +1,11 @@
{% extends "base.txt.jinja2" %}
{% block content %}
An email from {{ from_header }} to {{ alias.email }} is put into Quarantine as it fails DMARC check.
An email from {{ from_header }} to {{ alias.email }} is put into Quarantine as it fails anti-phishing check.
You can view the email at {{ refused_email_url }}.
This email is automatically deleted in 7 days.
More info about the anti-phishing measure on https://simplelogin.io/docs/getting-started/anti-phishing/
{% endblock %}