Manual setup

NOTE: If you cannot forward outgoing emails via port 25, it is also possible to use port 587. Note that STARTTLS is required on port 587.

Displaying tenant-specific TLS and domain names

To display the TLS and domain names required for your tenant, proceed as follows:

  1. Go to Configuration > Office 365.
  2. Select your Office 365 tenant.
  3. Click Show Exchange configuration.

The relevant information is displayed.

Creating an inbound connector

  1. Open your Exchange Admin Center at https://outlook.office365.com/ecp.
  2. Go to Mail flow > Connectors; then click the plus sign. The wizard for creating a new connector opens.
    Adding connectors
  3. Under From select Partner organization, under To select Office 365 and click Next.
    Mail flow scenario
  4. Enter From NoSpamProxy as the name for the connector, optionally add a description, tick the check box next to Turn it on and click Next.
    Add name and description
  5. Select the option Use the sender's domain and click Next.
    Identification of the partner organisation
  6. Click the plus sign, enter * as the sender domain, click OK and then Next.
  7. Tick the check box next to Reject email messages if [...] and And require that [...].
  8. Specify the required TLS subject name for the Exchange inbound send connector, click Next and then Save.
    Requesting TLS encryption

    NOTE: Some email servers still have the old MX record in their cache for up to 24 hours. We therefore recommend that you do not activate the restriction to the applicant name until 24 hours after the MX record has been changed. Otherwise it is possible that emails from Exchange Online will be rejected with 5.7.51.


Creating an outbound connector

  1. In the Exchange Admin Center, go to Mail flow > Connectors; then click the plus sign. The wizard for creating a new connector opens.

    Adding connectors
  2. Und From select Office 365, under To select Partner organization and click Next.

    Mail flow scenario
  3. Enter To NoSpamProxy as the name for the connector, optionally add a description, tick the check box next to Activate and click Next.

    Add name and description
  4. Select the option Only when I have a transport rule [...] and click Next.

    Transport rule
  5. Select the option Forward emails through these smart hosts, click the plus sign and specify the smarthost on the outbound Exchange send connector.

    Adding a smarthost
  6. Click Save and then Next.
  7. Tick the check box next to Always use Transport Layer Security [...] and select the option Issued by a trusted certificate authority (CA).
  8. Tick the check box next to And the subject name or [...] and specify the required TLS subject name for the Exchange outbound send connector.

    Requesting TLS encryption
  9. Click Next and then Next.
  10. In the following dialog, enter one or more email addresses, click Check and follow the instructions in the dialog.

Creating a transport rule

  1. In the Exchange Admin Center, go to Mail flow > Rules and click the plus icon.
    Adding a rule
  2. Select the option Create new rule and give the rule the name Outbound Mails to NoSpamProxy.
  3. Under Apply this rule if, set the following options:
    • The recipient is located and
    • Outside the organization.
  4. Under do the following set the option Redirect the message to and then the following connector.
    Redirect to connector
  5. Specify the previously created connector To NoSpamProxy and click OK.

    NOTE: If you can only select persons at this point, click in the lower section Further options. Select the option Use the following connector under Redirect the message to. Afterwards you can use the connector you created before.

  6. Click Save.
    Selecting connector

Disabling spam filtering by Office 365

  1. In the Exchange Admin Center, go to Mail flow > Rules and click the plus icon.
    Adding a new rule
  2. Select the option Create new rule and give the rule the name Disable Spam filtering for inbound emails.
  3. Under Apply this rule if, set the following options:
    • The sender is located in and
    • Outside the organization.
  4. Under Do the following set Modify the message properties > Set the Spam Confidence Level (SCL).
    Disable spam filtering

    NOTE: If the option Modify the message properties is not displayed, click More options to display all options

    .
  5. Select Bypass spam filtering, click OK and then Save.
    Disabling spam filtering by Office 365