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

Create a technical support case if you need further support.

Things to do when the ScanMail for Exchange (SMEX) filters are not working

    • Updated:
    • 22 Jan 2016
    • Product/Version:
    • Worry-Free Business Security Standard/Advanced 8.0
    • Platform:
    • Windows 2003 Standard Server Edition
Summary

Use this procedure when the SMEX filters (AntiVirus, Attachment Blocking, Content Filtering, AntiSpam and Web Reputation) do not work, and the following conditions apply:

  • SharedResPool is greater than 1GB
  • There are errors like this on the SMEX Master logs:

    "ERROR *** CMemMap::OpenExisting() reopen memory map fail"

  • Any of the files on the SharedResPool folder is greater than 30MB
Details
Public

Please do the following:

  1. Open the Registry Editor.
     
    Always back up the whole registry before making any modifications. Incorrect changes to the registry can cause serious system problems.
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\ScanMail for Exchange\CurrentVersion.
  3. Modify the value of the "SharedResPool" key to the new path. For example:

    C:\Program Files\Trend Micro\Smex\Sharedrespool1

     
    You need to create the folder, Sharedrespool1.
  4. Create the following keys with their values in decimal:
    • For VSAPI

      Path: HKLM\Software\Trend Micro\ScanMail for Exchange\Current Version
      Key: MaxAllowedVsapiMessageSize
      Type: REG_DWORD
      Value: For example, to set it to 32MB use the value 33554432 (Which equals 32*1024*1024, 32 MB)

    • For SMTP

      Path: HKLM\Software\Trend Micro\ScanMail for Exchange\Current Version
      Key: MaxAllowedSmtpMessageSize
      Type: REG_DWORD
      Value: For example, to set it to 32MB use the value 33554432 (Which equals 32*1024*1024, 32 MB)

       
      Set the appropriate value higher than the allowed message size for sending and receiving emails.
     
    When doing the next steps, make sure not to stop the services while modifying the keys.
  5. Restart all the ScanMail services so that all the shared resources are created on the new directory.
     
    The SharedResPool directory contains memory-mapping files for the shared resources between the SMEX 8.0 processes. As such, do not delete these files on the current directory to which the path is pointed.
  6. Verify that the SharedResPool1 has been populated. Afterwards, delete the contents of the original SharedResPool folder to free the disk space on the server.
     
    Do not delete the dummy.txt file.
  7. Go to HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\ScanMail for Exchange\CurrentVersion.
  8. Modify the value of "SharedResPool1" to the original path. For example:

    C:\Program Files\Trend Micro\Smex\SharedResPool

  9. Restart all the ScanMail services so that all the shared resources are created on the new directory.
     
    The SharedResPool directory contains memory-mapping files for the shared resources between the SMEX 8.0 processes. As such, do not delete these files on the current directory to which the path is pointed.
  10. Verify that the SharedResPool has bee populated. Afterwards, delete the SharedResPool1.
Premium
Internal
Rating:
Category:
Troubleshoot
Solution Id:
1054862
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.