{% extends "base.html" %} {% block title %}Dashboard - Email Server Management{% endblock %} {% block page_title %}Dashboard{% endblock %} {% block content %}
Domains

{{ domain_count }}

Active domains
Senders

{{ sender_count }}

Authenticated senders
DKIM Keys

{{ dkim_count }}

Active DKIM keys
Status
{% set health = check_health() %}
Service Status:
" + 'SMTP Server: ' + health.services.smtp_server|title + '
' + 'Web Frontend: ' + health.services.web_frontend|title + '
' + 'Database: ' + health.services.database|title + '
' ) | safe }}"> {{ health.status|title }} {% if health.services.smtp_server == 'running' and health.services.database == 'ok' %} All services running {% else %} {% if health.services.smtp_server == 'stopped' %}SMTP Server stopped{% endif %} {% if health.services.database == 'error' %}Database error{% endif %} {% endif %}
Recent Email Activity
View All
{% if recent_emails %}
{% for email in recent_emails %} {% endfor %}
Time From To Status DKIM
{{ email.created_at.strftime('%H:%M:%S') }} {{ email.mail_from }} {{ email.to_address }} {% if email.status == 'relayed' %} Sent {% else %} Failed {% endif %} {% if email.dkim_signed %} {% else %} {% endif %}
{% else %}

No email activity yet

{% endif %}
Recent Auth Activity
View All
{% if recent_auths %}
{% for auth in recent_auths %}
{% if auth.success %} {% else %} {% endif %} {{ auth.auth_type|title }}
{{ auth.identifier }}
{{ auth.created_at.strftime('%H:%M:%S') }}
{{ auth.ip_address }}
{% endfor %}
{% else %}

No authentication activity yet

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}