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

Create a technical support case if you need further support.

Unable to resend quarantined emails in ScanMail for Exchange (SMEX)

    • Updated:
    • 8 Jan 2015
    • Product/Version:
    • ScanMail for Exchange 10.2
    • ScanMail for Exchange 11.0
    • Platform:
    • N/A N/A
Summary
You encounter one of the following issues when resending a quarantined mail:
  • You fail to release a quarantined mail and the web console shows that the action is "Unsuccessful".
  • When resending quarantined mail to external address, the remote server rejects the connection and shows the following error message:
    #550 5.6.2 SMTPSEND.BareLinefeedsAreIllegal; message contains bare linefeeds, which cannot be sent via DATA ##
Details
Public
The Case Diagnostic Tool (CDT) debug logs of this issue display the following:
2014/01/14 11:38:31 Z [1968 :13972] [utilwebui.dll][utilCGIRequestData.cpp( 166)] [DEBUG] CCGIRequestData::GetEnvVariable(pszName = Page, strValue = administration/SystemDateTime.htm)
2014/01/14 11:38:31 Z [1968 :13972] [servwebuiprocessor.dll][webui_UIHandlerManager.cpp( 176)] [DEBUG] ==> CWebUIHandlerManager::LoadHandler(pszModuleFileName = uiWebAdministration.dll)
2014/01/14 11:38:31 Z [1968 :13972] [servwebuiprocessor.dll][webui_UIHandlerManager.cpp( 218)] [DEBUG] <== CWebUIHandlerManager::LoadHandler(pszModuleFileName = uiWebAdministration.dll), [RETURN=0000000029B67F60]
2014/01/14 11:38:31 Z [1968 :13972] [servwebuiprocessor.dll][webui_UIHandlerManager.cpp( 338)] [DEBUG] ==> PF_WEB_UI_FREE: uiWebAdministration.dll
2014/01/14 11:38:31 Z [1968 :13972] [servwebuiprocessor.dll][webui_UIHandlerManager.cpp( 340)] [DEBUG] <== PF_WEB_UI_FREE: uiWebAdministration.dll
2014/01/14 11:38:31 Z [1968 :13972] [servwebuiprocessor.dll][webui_UIHandlerManager.cpp( 353)] [DEBUG] <== CWebUIHandlerManager::FreeReplyData()
2014/01/14 11:38:31 Z [1968 :13972] [servwebuiprocessor.dll][webui_UIController.cpp( 399)] [DEBUG] <== CWebUIController::FlowControl(iMsgID=1011), [RETURN=1]
2014/01/14 11:38:31 Z [1968 :15004] [cmdquarantinemanager.dll][QuarantineManagerTask.cpp( 598)] [DEBUG] ::: strAttachDisplayname=FW: Interviews for Thursday and Friday.eml
2014/01/14 11:38:31 Z [1968 :15004] [cmdquarantinemanager.dll][QuarantineManagerTask.cpp( 625)] [ERROR] Send(), Failed.
2014/01/14 11:38:31 Z [1968 :15004] [utilexchangeserver.dll][util_ExchangeServer.cpp( 120)] [ERROR] CExchangeServerImp::Init() - m_pExSrv->Open() failed, hr = 0x00000000, bOpenReturn=0.
2014/01/14 11:38:31 Z [1968 :15004] [utilexchangeserver.dll][util_ExchangeServer.cpp(2598)] [DEBUG] <== CExchangeServer::CExchangeServer()
2014/01/14 11:38:31 Z [1968 :15004] [utilexchangeserver.dll][util_ExchangeServer.cpp(2132)] [DEBUG] ServerRoleCache::GetServerRole=14,server=CEREX01
2014/01/14 11:38:31 Z [1968 :15004] [utilexchangeserver.dll][util_ExchangeServer.cpp(2725)] [DEBUG] CExchangeServer::GetServerRole=14
2014/01/14 11:38:31 Z [1968 :15004] [cmdquarantinemanager.dll][QuarantineManagerTask.cpp( 470)] [DEBUG] ::: iExchangePlatform = 8, iExchangeServerRole = 14
2014/01/14 11:38:31 Z [1968 :15004] [cmdquarantinemanager.dll][QuarantineManagerTask.cpp( 490)] [DEBUG] Resend: get failed ResendSwitchCdoToEws = 0, error code:0
Setting the hidden key "ResendSwitchCdoToEws" to "1" enables SMEX to use Exchange Web Services (EWS) API instead of Microsoft Collaborative Data Objects (CDO) API. This ensures that SMEX can send released quarantined emails to the external recipients.
To set the hidden key:
  1. On the Exchange Server, open the registry editor (regedit.exe).
    Important: Always back up the whole registry before making any modifications. Incorrect changes to the registry can cause serious system problems.
  2. Go to the following registry hive:
    HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\ScanMail for Exchange\CurrentVersion
  3. Add the following keys:
    Name: ResendSwitchCdoToEws
    Type: REG_DWORD
    Data value: 1
    Note: The Type should be a DWORD 32-bit value and the Data value could either be hexadecimal or decimal.
    Name: EWSInternalUrl
    Type: REG_SZ
    Data value: https://{Exchange server hostname or FQDN}/EWS/Exchange.asmx
    Note: The Type should be a string value. Do not include the braces in the Data value.
  4. Restart the ScanMail for Microsoft Exchange Master Service.
  5. Resend the email.
Premium
Internal
Rating:
Category:
Configure; Troubleshoot
Solution Id:
1102247
Feedback
Did this article help you?

Thank you for your feedback!

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.

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.


Need More Help?

Create a technical support case if you need further support.