Regular expressions can be used to filter files with a specific extension. Creature filter using blocking file with extension .php
is done like this:
In the filter you need to select
Body of the letter
then matches regular expression
and then enter the regular expression
filename=.+\.php
Instead .php
any other extension can be specified. Then you need to choose an action Delete message
and save the changes.