For this type of filtering, I use the email web interface. That way the emails never even GET to the iPhone (or other devices), they're stopped on receipt by your email server.
Exactly how that's done varies by email provider, but pretty much all of them offer "Rules" of some sort to intercept messages before they go out to your devices.