Skip to content

Commit a040a17

Browse files
link2xtmissytake
authored andcommitted
opendkim: use su instead of sudo
1 parent eb3c026 commit a040a17

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
@@ -26,6 +26,9 @@
2626
- replace `Subject` with `[...]` for all outgoing mails.
2727
([#481](https://github.com/deltachat/chatmail/pull/481))
2828

29+
- opendkim: use su instead of sudo
30+
([#491](https://github.com/deltachat/chatmail/pull/491))
31+
2932
## 1.5.0 2024-12-20
3033

3134
- 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)