Customizing SmartActions E-mail Security on the Server

In 2016, Microsoft stopped producing spam definition updates for SmartScreen spam filtering in Outlook and Exchange Server, therefore the Exchange Spam Confidence Level (SCL) header has become obsolete. Microsoft says most customers using Exchange Server (on-premises) have either added Exchange Online Protection (EOP) or use a 3rd-party filtering service or appliance to sanitize their mail flow. For more information see the following Microsoft articles:

Nintex recommends customers set spamSecurity="off" and follow Microsoft's recommendations. Having the spamSecurity attribute set to anything else while in a hybrid Exchange environment or only using Exchange Online, will cause email issues when using SmartActions.

Use this topic to customize your email security. You can configure these settings in the "%ProgramFiles%\K2\Host Server\Bin\K2HostServer.exe.config" XML file.

Email communication usually happens between authenticated Exchange Servers. When unauthenticated servers are used, any time the system and the user are not communicating with the same Exchange Server, you must set up email security when configuring SmartActions. Find the settings in the configuration > messageBus > system element of the K2HostServer.exe.config file as in this example.

Copy

Example code:

<messageBus>
  <system self="K2:DENALLIX\K2Service" enableListeners="True" allowAmbiguity="true">
    <security spamSecurity="InternalMail">
      <authorizedDomains>
        <add domain="*.denallix.com" />
        <add domain="*.google.com" />
        <add domain="*.gmail.com" />
        <add domain="*.live.com" />
      </authorizedDomains>
    </security>
  </system>
. . .
Open the K2HostServer.exe.config file in a text editor like Notepad and search for <system self to find the section where you change the SmartActions E-mail Security on the server.
In order to setup SmartActions in your environment, Exchange Web Services (EWS) is required.

Description of the XML elements