diff options
| author | default <nobody@localhost> | 2025-01-06 15:35:18 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-01-06 15:35:18 +0100 |
| commit | 51f3f49ba0587311306eeca458a2dc67a12a2d49 (patch) | |
| tree | 5d646d1dbd4455c6d1be61aca30c3b18e6a90e7a /sandbox.c | |
| parent | 9ded9d6323ae6e78ebe316e909e577215891fd4a (diff) | |
Don't fail Linux sandboxing if /usr/sbin/sendmail does not exist.
Diffstat (limited to 'sandbox.c')
| -rw-r--r-- | sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ LL_BEGIN(sbox_enter_linux_, const char* basedir, const char *address, int smail) LL_PATH(sdir, s); } - if (smail) + if (smail && mtime("/usr/sbin/sendmail") > 0) LL_PATH("/usr/sbin/sendmail", x); if (*address != '/') { |