Skip to content

Commit 95bd372

Browse files
link2xtmissytake
authored andcommitted
opendkim: use su instead of sudo
1 parent 42bfb9f commit 95bd372

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
- replace `Subject` with `[...]` for all outgoing mails.
2424
([#481](https://github.com/deltachat/chatmail/pull/481))
2525

26+
- opendkim: use su instead of sudo
27+
([#491](https://github.com/deltachat/chatmail/pull/491))
28+
2629
## 1.5.0 2024-12-20
2730

2831
- cmdeploy dns: always show recommended DNS records

cmdeploy/src/cmdeploy/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ def _configure_opendkim(domain: str, dkim_selector: str = "dkim") -> bool:
217217
commands=[
218218
f"opendkim-genkey -D /etc/dkimkeys -d {domain} -s {dkim_selector}"
219219
],
220-
_sudo=True,
221-
_sudo_user="opendkim",
220+
_use_su_login=True,
221+
_su_user="opendkim",
222222
)
223223

224224
return need_restart

0 commit comments

Comments
 (0)