From Hdwiki
Gmail Filters
Filters allow you to manage the flow of incoming messages. You can use filters to automatically label, archive, delete, star, or forward your mail, based on any combination of keywords, senders, recipients, and more.
Google has provided excellent documentation on how to create and edit filters.

