Sunil Mohan Adapa 055e7603b2
email: Show DNS entries for all domains instead of just primary
- Promote reverse DNS information to primary heading.

- Add information that only one domain have reverse DNS configured.

- Clarify that ISP are also responsible for reverse DNS.

- Show reverse DNS records only for primary domain.

Tests:

- View email app. List of domains is shown in the domain section. Primary domain
is marked with a special icon.

- Clicking on the domain works. DNS and reverse DNS information is shown. DKIM
key information is present.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Benedek Nagy <contact@nbenedek.me>
2025-01-13 21:30:48 +01:00

45 lines
1.2 KiB
HTML

{% extends "app.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% block subsubmenu %}
<a class="btn btn-default" role="button" href="/rspamd/">
{% trans "Manage Spam" %}
<span class="fa fa-external-link"></span>
</a>
<a class="btn btn-default" role="button"
href="{% url 'email:aliases' %}">
{% trans "Manage Aliases" %}
</a>
{% endblock %}
{% block extra_content %}
<h3>{% trans "Domains" %}</h3>
<p>
{% blocktrans trimmed %}
The following domains are configured. View details to see the list of DNS
entries to be made for the domain.
{% endblocktrans %}
</p>
<div class="row">
<div class="col-md-6">
<div class="list-group">
{% for domain in all_domains %}
<div class="list-group-item">
<a href="{% url 'email:dns' domain %}"
title="{% blocktrans %}View domain: {{ domain }}{% endblocktrans %}">
{{ domain }}</a>
{% if domain == primary_domain %}<div class="app-icon fa fa-tag"></div>{% endif %}
</div>
{% endfor %}
</div>
</div>
</div>
{% endblock %}