mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 12:28:06 +00:00
opendkim: use su instead of sudo
This commit is contained in:
@@ -23,6 +23,9 @@
|
|||||||
- replace `Subject` with `[...]` for all outgoing mails.
|
- replace `Subject` with `[...]` for all outgoing mails.
|
||||||
([#481](https://github.com/deltachat/chatmail/pull/481))
|
([#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
|
## 1.5.0 2024-12-20
|
||||||
|
|
||||||
- cmdeploy dns: always show recommended DNS records
|
- cmdeploy dns: always show recommended DNS records
|
||||||
|
|||||||
@@ -217,8 +217,8 @@ def _configure_opendkim(domain: str, dkim_selector: str = "dkim") -> bool:
|
|||||||
commands=[
|
commands=[
|
||||||
f"opendkim-genkey -D /etc/dkimkeys -d {domain} -s {dkim_selector}"
|
f"opendkim-genkey -D /etc/dkimkeys -d {domain} -s {dkim_selector}"
|
||||||
],
|
],
|
||||||
_sudo=True,
|
_use_su_login=True,
|
||||||
_sudo_user="opendkim",
|
_su_user="opendkim",
|
||||||
)
|
)
|
||||||
|
|
||||||
return need_restart
|
return need_restart
|
||||||
|
|||||||
Reference in New Issue
Block a user