How to configure view filter to search on the basis of two conditions
You can add filters twice.  So, to avoid getting gmail or yahoo, you can first add a NOT gmail e-mail filter, and then add a second NOT yahoo filter.

This is not a great way to do it if you have an extremely large number of requirements, but if you only have a few, then it should be fine.