On Wed, Dec 04, 2024 at 11:11:53AM +0000, Max Kostikov via Exim-users wrote:
> F=<foo@???> temporarily rejected during MIME ACL checks: failed to
> expand ACL string “${run{/my/script.sh}{yes}{yes}}”: command timed out
>
> I tried using the local_scan_timeout setting but it has no effect on this
> behavior.
> Is there any way to affect this behavior?
You can use "timeout" utility, like that:
${run{/usr/bin/timeout 15s /my/script.sh}{yes}{yes}}
For Debian/Ubuntu is it shipped in coreutils package.
--
Eugene Berdnikov
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/