How to create email filter in Gmail

  1. Go to Gmail settings page
  2. Navigate to Filters and Blocked Addresses
  3. Click Create a new filter

Key in the from address  or you can just use the domain as the from field, and then click Create filter with this search

  1. Then choose what to do with the result set, for example Delete it.
    Click on the Create filter to create the rule.