aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox.c b/sandbox.c
index 0b89205..cbe0043 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -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 != '/') {