mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
fix lint
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
import subprocess
|
|
||||||
|
|
||||||
|
|
||||||
chatmail = [
|
chatmail = [
|
||||||
(
|
(
|
||||||
|
|||||||
@@ -23,9 +23,7 @@ def _install_chatctl() -> None:
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def _configure_opendkim(
|
def _configure_opendkim(domain: str, dkim_selector: str) -> bool:
|
||||||
domain: str, dkim_selector: str
|
|
||||||
) -> bool:
|
|
||||||
"""Configures OpenDKIM"""
|
"""Configures OpenDKIM"""
|
||||||
need_restart = False
|
need_restart = False
|
||||||
|
|
||||||
@@ -161,9 +159,7 @@ def deploy_chatmail() -> None:
|
|||||||
_install_chatctl()
|
_install_chatctl()
|
||||||
dovecot_need_restart = _configure_dovecot(domain)
|
dovecot_need_restart = _configure_dovecot(domain)
|
||||||
postfix_need_restart = _configure_postfix(domain)
|
postfix_need_restart = _configure_postfix(domain)
|
||||||
opendkim_need_restart = _configure_opendkim(
|
opendkim_need_restart = _configure_opendkim(domain, dkim_selector)
|
||||||
domain, dkim_selector
|
|
||||||
)
|
|
||||||
|
|
||||||
systemd.service(
|
systemd.service(
|
||||||
name="Start and enable OpenDKIM",
|
name="Start and enable OpenDKIM",
|
||||||
|
|||||||
Reference in New Issue
Block a user