Heh, you don't seem to understand... it goes beyond PHP. Filtering incoming email starts dipping into writing custom scripts for your mail daemon, whether it be on a global or user by user basis. You have to be fairly familliar with how your OS handles incoming mail and aware of any other filters that are in place, so no... it's not really something anyone can write for you.