Logging a hash value for attached files


This article applies to:

  • MailMarshal (SEG)

Question:

  • How can I generate and log a hash value for attached files?

Procedure:

In MailMarshal 8.0 and above you can enable MD5 hashing of attached files. The hash values are recorded in the Engine log.

  • In MailMarshal 10.0 and above, open the Management Console and navigate to Advanced Settings. Add a new value:
    • Name: Engine.HashUnpackAttachments
    • Type: Boolean
    • Value: True (selected)
  • In MailMarshal 8.X and below, open the Registry Editor on the Array Manager. Within the base registry key, navigate to \Default\Engine
    • In version 8.X: HKEY_LOCAL_MACHINE\SOFTWARE\Trustwave\Secure Email Gateway\Default\Engine
    • For information about the registry location for each version, see article Q10832.
    • Enter the value as a new DWORD value named HashUnpackAttachments with value 1.
  • Save your registry settings or configuration settings.
  • Commit the configuration changes and restart the MailMarshal Engine service on each node.

    Notes:

    Calculation of the hash is processing intensive. Ensure adequate system resource.


    Last Modified 4/1/2020.
    https://support.trustwave.com/kb/KnowledgebaseArticle21081.aspx