How to create custom mail filters?
You can create custom mail filters from Site Tools > Email > Filters. In case you wish to create a custom mail filter for all of your email accounts, go to Domain-Level Filters section.
For detailed instructions, check the tutorial here.