Re: $found_extension variable no longer in use?

"Peter Bowyer" <[email protected]> Sat, 28 Aug 2004 10:29:48 +0100
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <0d1601c48ce1$90d49e40$0a46a8c0@pbdesktop>
Jim Savoy <[email protected]> wrote:
> Hi all,
>
>         My exim (4.34 with exiscan 4.34-21) configure file has this
> code:
>
> ==================================================
> acl_check_mime:
>
>    warn decode = default
>    deny message = Blacklisted file extension detected ($found_extension)
>    condition = ${if match \
>          {${lc:$mime_filename}} \
> {\N(\.exe|\.pif|\.bat|\.scr|\.lnk|\.com|\.reg|\.vbs|\.csr|\.cmd)$\N} \
>        {1}{0}}
>    accept
> ======================================================
>
> But my logs display messages like this:
>
> rejected during MIME ACL checks: Blacklisted file extension detected
> ()
>
>
> Has the $found_extension variable been removed/changed? I couldn't
> find anything about it in the ChangeLog, and from examples on the list
> it seems like everyone else is using it successfully. Is it me?
> Thanks.

$found_extension is used in a data acl with the 'demime' facility, not in
the MIME acl.

Peter