FreeBSD Server Administration

« March 2008 | Main

June 23, 2008

Google App configuration for bind

On some websites, I really don't want to use free email address for contact, but spam email is an endless war. Google App allows me to use my own domain as email address, I can also enjoy all the power and features of Gmail, and it's free! What a perfect solution! If you are hosting your own email server and not satisfied with it, I strongly suggest you to give Google App a shot.

Here is the configuration for bind 9, only useful if you are hosting your own dns server. Take this site as an example, add the following lines into the domain's dns file:

freebsdblog.org. 14400 IN MX 1 ASPMX.L.GOOGLE.COM.
freebsdblog.org. 14400 IN MX 5 ALT1.ASPMX.L.GOOGLE.COM.
freebsdblog.org. 14400 IN MX 5 ALT2.ASPMX.L.GOOGLE.COM.
freebsdblog.org. 14400 IN MX 10 ASPMX2.GOOGLEMAIL.COM.
freebsdblog.org. 14400 IN MX 10 ASPMX3.GOOGLEMAIL.COM.

Be sure to remove any other MX records.

To access your email, the default address is http://www.google.com/a/freebsdblog.org, if you prefer mail.freebsdblog.org, add a CNAME record:

freebsdblog.org. 14400 IN CNAME ghs.google.com.

After I used Google App for my software product site, hundreds of spam emails per day disappeared. I love it!

Continue reading "Google App configuration for bind"


Category : Email

Posted by FreeBSD Newbie at 02:01 PM | Comments (0)