Google Apps integration
Overview
-
Configure the hosted email server to accept email from Metadefender Email server.
-
Configure Metadefender Email to relay out to hosted email server.
-
Update MX record to point to Metadefender Email server.
Detailed Steps
Step 1.1
Go to https://admin.google.com and login to your Google Apps subscription.
Step 1.2
Click 'MORE CONTROLS'.
Step 1.3
Click 'Apps'.
Step 1.4
Click 'Google Apps'.
Step 1.5
Click 'Gmail'.
Step 1.6
Click 'Advanced settings'.
Step 1.7
Scroll down to the 'Inbound gateway' section and click 'CONFIGURE'.
Step 1.8
Specify a gateway name (Metadefender Email Relay) and the IP address of the Metadefender Email server. Check 'Automatically detect external IP (recommended)', 'Reject all mail not from gateway IPs' and 'Require TLS connection from the email gateways listed above'.
Step 1.9
Click 'SAVE' at the bottom right of the screen to save the changes.
Step 2.1
Connect to the Mail agent server and run the following REST POST request (using ,for example, POSTMAN) to http://localhost:8000/MailAgent/Settings
{
"EmailRelayInDirection"
:
0
,
"EmailRelayInLocalDomains"
: [],
"EmailRelayInPort"
:
25
,
"EmailRelayOutPassword"
:
null
,
"EmailRelayOutPort"
:
25
,
"EmailRelayOutServer"
:
"alt1.aspmx.l.google.com"
,
"EmailRelayOutUseTls"
:
true
,
"EmailRelayOutUsername"
:
null
}
Step 2.2
Verify routing settings by sending an email to a Google Apps recipient directly to the Metadefender Email server and verify that it arrives correctly in the recipient inbox.
Step 3.1
Refer to your Internet domain registrar for details how to change MX record to point to Metadefender Email IP address. Verify email routing by sending an email to a Google Apps recipient.
Make sure that your MX record changes have propagated before verifying email routing.
Additional notes
-
Quarantine: Google Apps always does a malware check on all incoming emails, so releasing an infected item from quarantine will be rejected by Google Apps. As a workaround for this, configure quarantine to deliver emails to an alternative SMTP server that can accept infected emails