How to Use MailRoute with Google Apps for Inbound and Outbound Protection
MailRoute has always supported Inbound filtering for Google Apps users, but Google has new settings to increase the functionality, and to make sure that their own spam filters don't double-filter the mail.
In addition, MailRoute now supports outbound email relay of mail for Google Apps for Mail users. This allows your outbound mail to be filtered by MailRoute, preventing inadvertent transmission of viruses or spam from infected machines, and allows MailRoute to use your outbound email sending patterns to fine-tune your inbound spam filtering, reducing potential-false positives even further than before!
* it is not necessary to add your outbound server details in MailRoute's Control Panel once you have completed the steps below.
There are a few settings the Google Apps Administrator must make to tune things for Inbound filtering, and to enable Outbound mail relay as well:
Set up your google apps mail servers in MailRoute under Delivery & Mailservers and assign their priorities.
- We will need to know where to send your email. You will want to enter your Google Apps Mail Servers under the Inbound Servers tab.
Configure Google Apps;
- Visit https ://admin.google.com/<your domain>/AdminHome
- Select "Apps"
3. Select "Google Apps"
4. Select "Gmail"
5. Scroll down to the bottom and choose "Advanced Settings"
6. Scroll down to the section labeled "Spam":
7. Hover over "Inbound Gateway" and choose "Configure"
8. In the configuration dialog
A. Under "Inbound Gateway", enter a description for this setting, such as "MailRoute"
B. Section 1 "Gateway IPs", click "Add", and then enter "22.214.171.124/21" and click save.
C. Select the three checkboxes:
- Automatically detect external IP
- Reject all mail not from gateway IPs
- (optional) Require TLS for connections from the email gateways listed above
9. Section 2 - "Message Tagging".
A. Select the checkbox "Message is considered spam if the following header regexp matches".
B. Enter the following Regexp expression: ^X-Spam-Score: (-?\d+\.\d+)$
C. Select radio button "Regexp Extracts a numeric score"
D. Under "message is considered spam if extracted numeric score is"
- Choose "Greater than or equal to" from the popup menu, and set the value to "7"
E. Choose "Disable gmail spam evaluation on mail from this gateway; use only header value"
F. Click "Add Setting"
10. Scroll down to the section labeled "Routing", and the subsection "Outbound Gateway".
A. Enter "outbound.mailroute.net"
B. Click "Save" at the very bottom of the window.
Note: MailRoute will automatically recognize that you are using Google Apps for your outbound service, so you do not need to enter an outbound mailserver in the MailRoute Control Panel.