Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Integrating OfficeScan/Apex One with Office 365 hosted email service

    • Updated:
    • 26 Sep 2021
    • Product/Version:
    • Apex One
    • OfficeScan 11.0
    • OfficeScan XG
    • Platform:
    • Windows

You want to migrate the mail service from a traditional on-premise model to a hosted service such as Microsoft Office 365. The Office 365 requires Transport Layer Security (TLS) for Client SMTP Submission to provide a secured communication.

However, OfficeScan/Apex One currently supports SSL, but not TLS. Thus, you cannot integrate their OfficeScan/Apex One notifications to the hosted Office 365 mail service.


To resolve this compatibility issue, implement the Simple Mail Transfer Protocol (SMTP) relay and check the configuration afterwards.

  1. Add the SMTP Server feature.
    1. Go to Start > Server Manager.
    2. Click Add roles and features.
    3. A new window will pop up then click Next until you reach Select features.
    4. Select SMTP Server.
    5. Select also the Include management tools if Internet Information Services (IIS) Management Console and IIS 6 Management Compatibility features if these are not yet installed.
  2. Start the Simple Mail Transport Protocol (SMTP) service via services.msc and change the startup type to "Automatic".
  3. Open the IIS 6.0 Manager and expand the hostname.
  4. Right-click [SMTP Virtual Server #1] and select Properties.
  5. Navigate to General tab > IP Address > Advanced.
  6. Click Add and select the IP address of the server.
  7. On the TCP port field, type "587" and click OK.

    TCP port field

  8. On the General tab, select the actual IP address of the server from the IP address drop-down list.

    IP address drop-down list

  9. Go to Access tab > Authentication.
  10. Make sure that the "Anonymous access" check box is ticked and click OK.

    Anonymous access

  11. On the Access tab, click Connection.
  12. Mark the "Only the list below" radio button and add the IP address of the OSCE server.

    Connection > Only the list below

  13. On the Access tab, select Relay.
  14. Mark the "Only the list below" radio button and add the IP address of the OSCE server.

    Relay > Only the list below

  15. Go to Delivery tab > Outbound Security.
  16. Select "Anonymous access".
  17. Untick the "TLS encryption" check box.
  18. On the Delivery tab, select Outbound Connections and change the TCP port to "25".
  19. Go to the Delivery tab > Advanced.
  20. Get the server name by logging into the O365 Admin Portal:
    1. Click Domain.
    2. Select the domain being used.
    3. Copy the MX record from the DNS setting and use that address.
    You can also check this Microsoft KB Article for more details on getting the server name.

After the procedure above, the relay is now configured. To check if netstat -a if is listening:

  1. Open a Notepad and type the following:

    FROM: <source email address>
    TO: <destination email address>
    SUBJECT: Test email
    This is a test email sent from my SMTP server

  2. Name this file as Email.txt and save it in C:\InetPub\MailRoot\Pickup.
  3. After a few minutes, check if the file is automatically moved to C:\InetPub\MailRoot\Queue folder. When the SMTP server delivers the mail, the file is automatically deleted from the local server.
  4. If you received the test mail in Office 365, the relay is working.
    If the SMTP server cannot deliver the message, use the non-delivery report (NDR), which is created under the C:\InetPub\MailRoot\BadMail folder, to diagnose the delivery issues.

To configure OfficeScan/Apex One to send emails via relay:

  1. On the OfficeScan/Apex One web console, navigate to Administration > Notifications > General Settings.
  2. Enter the following information:

    SMTP server: IP_ADDRESS of the relay
    Port: 587
    From: Email address of the Office 365 (e.g.

  3. Save the settings.
  4. Go to IIS Manager and select the OfficeScan/Apex One site.
  5. Open the SMTP email feature and mark the "Store e-mail in pickup directory" radio button.
  6. Set the path of the pickup directory (e.g. C:\InetPub\MailRoot\Pickup) and click Apply.
  7. Test the notification by creating an Eicar test in one of the OfficeScan/Apex One-protected machines.

For more information, refer to this article: SMTP Relay with Office 365.

Solution Id:
Did this article help you?

Thank you for your feedback!

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.