opendkim: use su instead of sudo

This commit is contained in:
link2xt
2024-11-09 03:54:15 +00:00
committed by missytake
parent f4fc1a3f93
commit 8ec6e6e985
2 changed files with 5 additions and 2 deletions

View File

@@ -23,6 +23,9 @@
- replace `Subject` with `[...]` for all outgoing mails.
([#481](https://github.com/deltachat/chatmail/pull/481))
- opendkim: use su instead of sudo
([#491](https://github.com/deltachat/chatmail/pull/491))
## 1.5.0 2024-12-20
- cmdeploy dns: always show recommended DNS records

View File

@@ -217,8 +217,8 @@ def _configure_opendkim(domain: str, dkim_selector: str = "dkim") -> bool:
commands=[
f"opendkim-genkey -D /etc/dkimkeys -d {domain} -s {dkim_selector}"
],
_sudo=True,
_sudo_user="opendkim",
_use_su_login=True,
_su_user="opendkim",
)
return need_restart