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 letterthen
matches regular expression and then enter the regular expression
.php any other extension can be specified. Then you need to choose an action
Delete message and save the changes.