mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Tests: - Functional tests work (uninstall test does not work) - Initial setup works - Domains are setup - Home is setup (others don't have permission for /var/mail) - Aliases configuration is setup - Postfix is setup - rspamd is setup - Changing primary domain works - Adding/removing domains works - Error during operations is handle properly: getting dkim key - Setting up DKIM key when changing, adding/removing domain works - Showing DKIM key in app page works Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
15 lines
444 B
Python
15 lines
444 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""Provides privileged actions that run as root."""
|
|
|
|
from .aliases import setup_aliases
|
|
from .dkim import get_dkim_public_key, setup_dkim
|
|
from .domain import set_domains
|
|
from .home import setup_home
|
|
from .postfix import setup_postfix
|
|
from .spam import setup_spam
|
|
|
|
__all__ = [
|
|
'setup_aliases', 'get_dkim_public_key', 'setup_dkim', 'set_domains',
|
|
'setup_home', 'setup_postfix', 'setup_spam'
|
|
]
|