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

21 lines
579 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
URLs for the email module.
"""
from django.urls import path, re_path
from stronghold.decorators import public
from plinth.utils import non_admin_view
from . import views
urlpatterns = [
path('apps/email/', views.EmailAppView.as_view(), name='index'),
re_path('apps/email/dns/(?P<domain>[^/]+)/$', views.DnsView.as_view(),
name='dns'),
path('apps/email/aliases/', non_admin_view(views.AliasView.as_view()),
name='aliases'),
path('apps/email/config.xml', public(views.XmlView.as_view())),
]