2022-06-29 11:28:26 +02:00
{% extends "default.html" %}
2020-03-14 16:10:09 +01:00
2022-06-29 11:28:26 +02:00
{% block title %}Quarantine{% endblock %}
2022-07-19 16:00:02 +02:00
{% block head %}
< style >
li {
margin-top: 8px;
}
< / style >
{% endblock %}
2020-03-14 16:10:09 +01:00
{% set active_page = "setting" %}
{% block default_content %}
2022-06-29 11:28:26 +02:00
< div class = "col" >
2022-07-19 16:00:02 +02:00
< h1 class = "h3 mb-5" > Quarantine & Bounce< / h1 >
2020-03-15 18:06:57 +01:00
< div class = "alert alert-info" >
2022-07-19 16:00:02 +02:00
This page shows all emails that are either refused by your mailbox (bounced) or detected as spams/phishing (quarantine) via our
< a href = "https://simplelogin.io/docs/getting-started/anti-phishing/"
2023-02-27 13:15:25 +01:00
target="_blank"
rel="noopener noreferrer">anti-phishing program ↗< / a >
2022-07-19 16:00:02 +02:00
< ul class = "p-4 mb-0" >
< li >
If the email is indeed spam, this means the alias is now in the hands of a spammer,
you should probably < b > disable< / b > the alias.
< / li >
< li >
If the email isn't spam and your mailbox refuses the email, we recommend to create a < b > filter< / b > to avoid your mailbox provider from blocking legitimate emails. Please refer to
< a href = "https://simplelogin.io/docs/getting-started/troubleshooting/#emails-end-up-in-spam"
2023-02-27 13:15:25 +01:00
target="_blank"
rel="noopener noreferrer">Setting up filter for SimpleLogin emails ↗< / a >
2022-07-19 16:00:02 +02:00
< / li >
< li >
If the email is flagged as spams/phishing, this means that the sender explicitly states their emails should respect
< b > DMARC< / b > (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.
< / li >
< / ul >
2020-03-15 18:06:57 +01:00
< / div >
2022-07-19 18:58:41 +02:00
{% if email_logs|length == 0 %}
< div class = "my-4 p-4 card" > You don't have any emails in Quarantine/Bounce.< / div >
{% endif %}
2020-03-30 21:46:52 +02:00
{% for email_log in email_logs %}
2022-06-29 11:28:26 +02:00
2020-03-30 21:46:52 +02:00
{% set refused_email = email_log.refused_email %}
2020-08-15 16:56:16 +02:00
{% set contact = email_log.contact %}
{% set alias = contact.alias %}
2022-06-29 11:28:26 +02:00
< div class = "card p-4 shadow-sm {% if email_log.id == highlight_id %} highlight-row{% endif %}" >
2022-07-19 16:00:02 +02:00
< div class = "small-text" >
Sent {{ refused_email.created_at | dt }}
{% if email_log.bounced %}
< span class = "badge badge-info" > Bounce< / span >
{% else %}
< span class = "badge badge-warning" > Quarantine< / span >
{% endif %}
< / div >
2020-08-15 16:58:11 +02:00
{% if email_log.is_reply %}
2022-06-29 11:28:26 +02:00
From: {{ alias.email }}
< br / >
2020-08-15 16:58:11 +02:00
To: {{ contact.website_email }}
{% else %}
2022-06-29 11:28:26 +02:00
From: {{ contact.website_email }}
< br / >
2020-08-15 16:58:11 +02:00
< span >
2022-06-29 11:28:26 +02:00
To: {{ alias.email }}
< a href = '{{ url_for("dashboard.index", highlight_alias_id=alias.id) }}'
2022-07-19 16:00:02 +02:00
class="text-danger small-text"
style="text-decoration: underline">
2022-06-29 11:28:26 +02:00
Disable Alias
< / a >
< / span >
2020-08-15 16:58:11 +02:00
{% endif %}
2020-03-15 11:14:58 +01:00
{% if refused_email.deleted %}
2022-06-29 11:28:26 +02:00
2022-07-19 16:00:02 +02:00
< div class = "mt-6" style = "font-weight: 600" > Email deleted {{ refused_email.delete_at | dt }}< / div >
2020-03-15 11:14:58 +01:00
{% else %}
2022-07-19 16:00:02 +02:00
< a href = "{{ refused_email.get_url() }}"
download
class="btn btn-outline-primary mt-4"
style="max-width: 20em">Download →< / a >
2020-08-15 16:58:11 +02:00
< div class = "small-text" > This will download a ".eml" file that you can open in your email client< / div >
2020-03-15 11:14:58 +01:00
{% endif %}
2020-03-14 16:10:09 +01:00
< / div >
{% endfor %}
< / div >
2022-06-29 11:28:26 +02:00
{% endblock %}