This commit is contained in:
holger krekel
2023-10-12 15:42:11 +02:00
parent 0cad23885d
commit 65494b207d
2 changed files with 2 additions and 8 deletions

View File

@@ -1,5 +1,3 @@
import subprocess
chatmail = [
(

View File

@@ -23,9 +23,7 @@ def _install_chatctl() -> None:
)
def _configure_opendkim(
domain: str, dkim_selector: str
) -> bool:
def _configure_opendkim(domain: str, dkim_selector: str) -> bool:
"""Configures OpenDKIM"""
need_restart = False
@@ -161,9 +159,7 @@ def deploy_chatmail() -> None:
_install_chatctl()
dovecot_need_restart = _configure_dovecot(domain)
postfix_need_restart = _configure_postfix(domain)
opendkim_need_restart = _configure_opendkim(
domain, dkim_selector
)
opendkim_need_restart = _configure_opendkim(domain, dkim_selector)
systemd.service(
name="Start and enable OpenDKIM",