Correction:
condition = ${run{SHELL -c \
"cd ${sg{$mime_decoded_filename}{[^/]+\\$}{}}; \
P7ZIP x -y $mime_decoded_filename; \
GREP -r -a -s -E \
'rundll32|This program cannot be run in DOS mode' \
*"}{1}{0}}-- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
