You have been using your Gmail account for some time now and take a look in the spam folder. What do you see? Most users will see hundreds, if not thousands of useless spam messages and no mail that is actually needed. For the most part Google has built a solid spam filter that does not put “real� mail in the spam folder. Gmail has build this wonderful filter but you don’t really want to change your email address to gmail.com. What do you do? Well, you can actually use Gmail has your spam filter. Essentially you forward your mail to Gmail and then Gmail forwards the messages back, minus the spams. Procedure: We are going to assume that your Gmail address is “name@gmail.com� and your domain’s is “name@domain.com�.
- Setup a new Gmail.com account. The account must only be used for this.
- In Gmail go to settings > Forwarding and POP. Set Gmail to forward a copy to your regular email address (name@domain.com) and to save a copy. Once this is set all of the incoming mail to name@gmail.com will be spam filtered and then sent to name@domain.com.
- To get the mail to the Gmail account we need to create a server side filter. We need it is send to name@gmail.com if the header is not: X-Forwarded-For: name@gmail.com name@domain.com
- In English, the filter would be written: “Any mail that does not contain ‘X-Forwarded-For: name@gmail.com name@domain.com’ in the mail header should be forwarded to name@gmail.com�.
When this is all set only filtered mail will show up on name@domain.com. You should periodically check the Gmail account to see if it is filtering “too much� and you are not receiving “real� email.