mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 15:53:22 +08:00
improve email wording
This commit is contained in:
parent
80a45b4b07
commit
95770de4d5
4 changed files with 25 additions and 21 deletions
|
@ -140,7 +140,7 @@ def apply_dmarc_policy_for_reply_phase(
|
|||
alias_from.user.email,
|
||||
f"Attempt to send an email to your contact {contact_recipient.email} from {envelope.mail_from}",
|
||||
render(
|
||||
"transactional/spoof-reply.txt",
|
||||
"transactional/spoof-reply.txt.jinja2",
|
||||
contact=contact_recipient,
|
||||
alias=alias_from,
|
||||
sender=envelope.mail_from,
|
||||
|
|
|
@ -2,19 +2,21 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
{% call text() %}
|
||||
<h1>
|
||||
An attempt to send a fake email to {{ contact.email }} from your alias <b>{{ alias.email }}</b> using <b>{{ sender }}</b> has been blocked.
|
||||
</h1>
|
||||
{% endcall %}
|
||||
{% call text() %}
|
||||
<h1>
|
||||
Unauthorized attempt to send an email to {{ contact.email }} from your alias <b>{{ alias.email }}</b> using
|
||||
<b>{{ sender }}</b> has been blocked.
|
||||
</h1>
|
||||
{% endcall %}
|
||||
|
||||
{% call text() %}
|
||||
As a measure to protect against <b>email spoofing</b>, we have blocked an attempt to send an email from your alias <b>{{ alias.email }}</b> using <b>{{ sender }}</b>.
|
||||
{% endcall %}
|
||||
{% call text() %}
|
||||
To protect against <b>email spoofing</b>, only your mailbox can send emails on behalf of your alias.
|
||||
SimpleLogin also refuses emails that claim to come from your mailbox but fail DMARC.
|
||||
{% endcall %}
|
||||
|
||||
{% call text() %}
|
||||
Best, <br/>
|
||||
SimpleLogin Team.
|
||||
{% endcall %}
|
||||
{% call text() %}
|
||||
Best, <br/>
|
||||
SimpleLogin Team.
|
||||
{% endcall %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{% extends "base.txt.jinja2" %}
|
||||
|
||||
{% block content %}
|
||||
An attempt to send a fake email to {{ contact.email }} from your alias {{ alias.email }} using {{ sender }} has been blocked.
|
||||
|
||||
As a measure to protect against email spoofing, we have blocked an attempt to send an email from your alias {{ alias.email }} using {{ sender }}.
|
||||
{% endblock %}
|
||||
|
10
templates/emails/transactional/spoof-reply.txt.jinja2
Normal file
10
templates/emails/transactional/spoof-reply.txt.jinja2
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% extends "base.txt.jinja2" %}
|
||||
|
||||
{% block content %}
|
||||
Unauthorized attempt to send an email to {{ contact.email }} from your alias {{ alias.email }} using
|
||||
{{ sender }} has been blocked.
|
||||
|
||||
To protect against email spoofing, only your mailbox can send emails on behalf of your alias.
|
||||
SimpleLogin also refuses emails that claim to come from your mailbox but fail DMARC.
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in a new issue