email: Update module docstrings

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2022-02-16 11:50:05 -08:00 committed by James Valleroy
parent 6cfa0589a7
commit 55bd428bd7
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
9 changed files with 24 additions and 6 deletions

View File

@ -1,5 +1,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
"""Manage email aliases.""" """
Manage email aliases stored in sqlite database.
"""
import contextlib import contextlib
import pwd import pwd

View File

@ -2,6 +2,7 @@
""" """
Forms for the email app. Forms for the email app.
""" """
import re import re
from django import forms from django import forms

View File

@ -1,4 +1,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
"""
Application manifest for email.
"""
from django.utils.translation import gettext_lazy as _ from django.utils.translation import gettext_lazy as _

View File

@ -1,6 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
""" """
Provides diagnosis and repair of email server configuration issues Provides privileged actions that run as root.
""" """
from . import aliases, dkim, domain, home, postfix, spam, tls from . import aliases, dkim, domain, home, postfix, spam, tls

View File

@ -1,5 +1,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
"""Privileged operations for managing aliases.""" """
Privileged operations for managing aliases.
"""
import pathlib import pathlib
import shutil import shutil

View File

@ -1,5 +1,7 @@
"""Configure email domains"""
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
"""
Configure domains accepted by postfix.
"""
import pathlib import pathlib
import re import re

View File

@ -1,5 +1,7 @@
"""Configures spam filters and the virus scanner"""
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
"""
Configures rspamd to handle incoming and outgoing spam.
"""
import pathlib import pathlib
import re import re

View File

@ -1,5 +1,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
"""TLS configuration for postfix and dovecot.""" """
TLS certificate configuration for postfix and dovecot.
"""
import pathlib import pathlib

View File

@ -1,4 +1,8 @@
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
"""
URLs for the email module.
"""
from django.urls import path from django.urls import path
from stronghold.decorators import public from stronghold.decorators import public