{% extends "base.html" %} {% block title %}Domains{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

Domains {{ domains | length }} domain{{ 's' if (domains | length) != 1 else '' }}

{% if current_user.is_superadmin %} {% endif %} {% if domains %} {% for domain in domains %} {% set held_n = held_counts.get(domain.id) %} {% if current_user.is_superadmin %} {% endif %} {% endfor %} {% else %} {% endif %}
Domain Mail Host Port Active DescriptionOutbound (24h)Actions
{{ domain.domain }} {% if current_user.is_superadmin and domain.hold_all_mail %} ON HOLD{% if held_n %} - {{ held_n }} held{% endif %} {% endif %} {{ domain.relay_host | default('-') }} {{ domain.relay_port | default(25) }} {% if domain.is_active %} Active {% else %} Inactive {% endif %} {{ domain.description | default('') }}{{ outbound_counts.get(domain.id, 0) }}
{% if current_user.is_superadmin %}
{% if domain.hold_all_mail and held_n %}
{% endif %} {% endif %} {% if current_user.is_superadmin %} {% endif %}
{% if current_user.is_superadmin %}
Outbound relay (superadmin only)
Each listed IP is bound to {{ domain.domain }}. Outbound mail from these IPs must use a MAIL FROM at {{ domain.domain }}.
{% endif %}
No domains configured. Click Add Domain to get started.
{% endblock %} {% block extra_scripts %} {% endblock %}