Skip to main content

Configure Office 365 for GravityZone Security for Email

Follow these procedures to integrate GravityZone Security for Email with Office 365, for inbound and outbound email delivery.

To configure GravityZone Security for Email for use with an Office 365 account follow the steps below:

1. Configure GravityZone Security for Email Inbound Mail

  1. Go to Products > GravityZone Security for Email > Product Configuration.

  2. Go to Inbound Mail.

  3. Click Add to add a new delivery route.

  4. Select your Domain from the drop-down list.

  5. Under Cost set route priority.

    The cost defines route priority for multiple routes.The lower the number, the higher the priority.

  6. Under Route enter the 0365 domain name (e.g.


    This can be found under O365 > Settings > Domains > Domain Details > MX Value

  7. Update to save changes.

2. Configure GravityZone Security for Email Outbound Mail

  1. Go to Products > GravityZone Security for Email > Product Configuration.

  2. Go to Outbound Mail.

  3. Click Add.

  4. Under Hostname enter the following hostname:


  5. Update to save changes.

Please follow the steps in this article to restrict Office 365 and then return to this article to continue configuration.

Follow the steps below to configure Office 365 to always send messages using the EMS server:

  1. Log in to your Office 365 Admin Center, and go to Admin Centers > Exchange.

  2. In the left-hand pane, click Mail Flow > Connectors.

  3. Click + to add a new connector.

  4. In the From: field, select Office 365.

  5. In the To: field, select Partner Organization.

  6. Give the new connector a sensible name.

  7. Click Next.

  8. Under When do you want to use this connector? select Only when email messages are sent to these domains, then click the + icon and enter *.

  9. Click Next.

  10. Under How do you want to route email messages, select Route email through these smart hosts.

  11. Add hosts according to the correct addresses for your cluster - see Europe, United States.

  12. Click Next and then click Confirm to create the connector.


If you wish to verify the connector, be sure not to use an internal address. For example, use a personal email address which is not a domain configured for your customer.

If the validation fails check the settings below before contacting technical support:

  • The connector is enabled.

  • The default domain is the domain configured in EMS domain settings (MailFlow > Accepted Domains).

Video tutorials