From 750b6f9038f7fd5a8492fbe9465d5def400d99a0 Mon Sep 17 00:00:00 2001 From: Son Nguyen Kim Date: Tue, 19 Jul 2022 16:00:02 +0200 Subject: [PATCH] distinguish between bounce and quarantine (#1167) * distinguish between bounce and quarantine - improve wording - show bounce or quarantine badge * prettify --- templates/dashboard/refused_email.html | 61 +++++++++++++++++++------- templates/dashboard/setting.html | 15 +++---- 2 files changed, 53 insertions(+), 23 deletions(-) diff --git a/templates/dashboard/refused_email.html b/templates/dashboard/refused_email.html index 24ae33ab..4dabb68c 100644 --- a/templates/dashboard/refused_email.html +++ b/templates/dashboard/refused_email.html @@ -1,22 +1,41 @@ {% extends "default.html" %} {% block title %}Quarantine{% endblock %} +{% block head %} + + +{% endblock %} {% set active_page = "setting" %} {% block default_content %}
-

Quarantine

+

Quarantine & Bounce

- This page shows all emails that are potentially spams or malicious. - Usually these emails have been refused (or bounced) by your mailbox. -
- - If an email is indeed spam, this means the alias is now in the hands of a spammer, - in this case you should disable this alias. -
- - Otherwise, you should create a filter to avoid your email provider from blocking these emails. -
- Contact us↗ - if you need any help. + This page shows all emails that are either refused by your mailbox (bounced) or detected as spams/phishing (quarantine) via our + anti-phishing program ↗ +
    +
  • + If the email is indeed spam, this means the alias is now in the hands of a spammer, + you should probably disable the alias. +
  • +
  • + If the email isn't spam and your mailbox refuses the email, we recommend to create a filter to avoid your mailbox provider from blocking legitimate emails. Please refer to + Setting up filter for SimpleLogin emails ↗ +
  • +
  • + If the email is flagged as spams/phishing, this means that the sender explicitly states their emails should respect + DMARC (an email authentication protocol) + and any email that violates this should either be quarantined or rejected. If possible, please contact the sender + so they can update their DMARC setting or fix their SPF/DKIM that cause the DMARC failure. + Their emails are probably being rejected or end up in spam at other email providers as well. +
  • +
{% if email_logs|length == 0 %}
You don't have any emails in Quarantine.
{% endif %} {% for email_log in email_logs %} @@ -25,7 +44,15 @@ {% set contact = email_log.contact %} {% set alias = contact.alias %} diff --git a/templates/dashboard/setting.html b/templates/dashboard/setting.html index cbcae954..289bc826 100644 --- a/templates/dashboard/setting.html +++ b/templates/dashboard/setting.html @@ -587,21 +587,20 @@
- Quarantine + Quarantine & Bounces
- When an email sent to your alias is classified as spam or refused by your email provider, - it usually means your alias has been leaked to a spammer. -
- In this case SimpleLogin will keep a copy of this email (so it isn't lost) - and notify you so you can take a look at its content and take appropriate actions. + When an email is refused (or bounced) by your mailbox provider or flagged by + SimpleLogin anti-phishing program, + SimpleLogin keeps a copy of this email for 7 days so you can take a look at its content and take appropriate actions.
The emails are deleted in 7 days. - This is an exceptional case where SimpleLogin stores the email. +
+ This is an exceptional case where SimpleLogin temporarily stores the email.
- See refused emails + See quarantine & bounce emails