spam.m4: The ${run ...} expansion doesn't do PATH lookup.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 3 May 2014 12:24:32 +0000 (13:24 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 3 May 2014 12:24:32 +0000 (13:24 +0100)
So we must do this ourselves.

spam.m4

diff --git a/spam.m4 b/spam.m4
index c26abcf..7be5a36 100644 (file)
--- a/spam.m4
+++ b/spam.m4
@@ -67,7 +67,7 @@ fetch_spam_limit:
                     {}} \
                ${if and {{!eq{$acl_c_mode}{submission}} \
                          {exists {CONF_userconf_dir/spam-limit.userv}}} \
-                    {${run {timeout 5s -- \
+                    {${run {/usr/bin/timeout 5s -- \
                                userv SHQUOTE($local_part) exim-spam-limit \
                                        SHQUOTE($sender_address) \
                                        SHQUOTE($local_part_prefix) \