{% extends "base.html" %} {% block title %}Message · Email Gateway{% endblock %} {% block content %}

Email SecurityGateway

Message #{{ g.id }}

{{ g.action }} · {{ g.ts| pt('%Y-%m-%d %H:%M') }}{% if org %} · {{ org.name }}{% endif %}{% if g.relay %} · {{ g.relay }}{% endif %}

‹ Gateway {% if g.action != 'released' %}
{% endif %}
{% if saved %}{% endif %}
{{ (g.severity or 'clean')|upper }} {% if g.threat_type %}{{ g.threat_type|capitalize }}{% endif %} {% if g.severity %}risk score {{ g.score }}{% endif %} {% if g.clam %}· ClamAV: {{ g.clam }}{% endif %}
{% if reasons %}{% endif %}
{% if parsed and not parsed.error %}

Headers

From{{ parsed.from or '—' }} To{{ parsed.to or g.rcpt_to or '—' }} Subject{{ parsed.subject or '—' }} Date{{ parsed.date or '—' }} {% if parsed.reply_to %}Reply-To{{ parsed.reply_to }}{% endif %} Auth{{ parsed.auth or '—' }} Size{{ parsed.size }} bytes

Body (sanitised text)

{{ parsed.body or '(no text body)' }}

Links ({{ parsed.urls|length }})

{% if parsed.urls %}{% else %}

None.

{% endif %}

Attachments ({{ parsed.attachments|length }})

{% if parsed.attachments %}{% else %}

None.

{% endif %}
{% else %}

{{ parsed.error if parsed else 'Stored message not available (delivered mail may not be retained, or was deleted).' }}

{% endif %} {% endblock %}