Google Apps and Mailsphere

You can use Google Apps for business (Gmail) with Mailsphere.

Setting Up Mailsphere

After the organisation has been configured the following set up should be performed in Domains for that Organisation.

Domain - Incoming Configuration

The incoming IP addresses actually have to be any of Googles mail servers. Currently the following IP addresses need to be added as the Incoming servers:

216.239.32.0/19

64.233.160.0/19

66.249.80.0/20

72.14.192.0/18

209.85.128.0/17

66.102.0.0/20

74.125.0.0/16

64.18.0.0/20

207.126.144.0/20

173.194.0.0/16

Domain - Outgoing Configuration

The outgoing IP addresses are defined here: http://support.google.com/a/bin/answer.py?hl=en&answer=174125

Mailsphere supports DNS names as well as IP addresses so these are fine to put straight in.

Currently the values are:

ASPMX.L.GOOGLE.COM

ALT1.ASPMX.L.GOOGLE.COM

ALT2.ASPMX.L.GOOGLE.COM

ASPMX2.GOOGLEMAIL.COM

ASPMX3.GOOGLEMAIL.COM

Setting up Google Apps

1) Setup Google apps to use mailsphere as a “outbound mail gateway” http://support.google.com/a/bin/answer.py?hl=en&answer=178333

Use the standard Mailsphere IP address/addresses/load balancer  as the destination.

2) Ensure that Google apps forwards all internal email via this gateway too.