Basic use of a script to filter emails

This example shows a basic script-filter example. If the email contains two .jpg attachment the filter is passed, otherwise the email is rejected.