diff options
| author | Léo Gaspard <leo@gaspard.io> | 2018-03-29 21:23:36 +0200 |
|---|---|---|
| committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2018-03-30 16:16:31 +0200 |
| commit | ec9a51d0cc6fab730bfe10d354b47c98ddb37460 (patch) | |
| tree | 2bb83edb44f714d73239fd86b9023f5c6132e158 /pkgs/development/python-modules/httpserver | |
| parent | 6547e61577a024faf6f104fd7fc938ecb1343c36 (diff) | |
mdadm: allow sending mail when using opensmtpd
OpenSMTPD does not require the setuid bit for its `sendmail`. This works
around it by wrapping the called `sendmail` so that the wrapper falls
back on either the setuid `sendmail` or the non-setuid `sendmail`
depending on what's available.
The solution of relying on `$PATH` to be set is unfortunately
unreliable, as `mdadm --monitor` will likely be executed from a
`systemd` unit, that runs with a clean `$PATH`.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
