This article applies to:
- MailMarshal (SEG)
- Unpacking and scanning of PDF documents
Question:
- What is the timeout for unpacking of PDF documents?
- How can I adjust the timeout for unpacking of PDF documents?
Procedure:
Current versions of MailMarshal have a timeout value for unpacking of PDF documents. If unpacking exceeds the timeout, the email message is deadlettered. The purpose of this functionality is to prevent malformed or extremely complex documents consuming all system resources.
The default timeout value is 4 minutes. This value should be ample for any well formed PDF document.
If necessary, you can adjust this behavior.
To create or edit this setting:
- In MailMarshal 10.0 and above, open the Management Console and navigate to Advanced Settings. Add a new value:
- Name: Engine.PDFUnpackTimeout
- Type: Integer
- Value: The required time in seconds (default: 240)
- 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 PDFUnpackTimeout (value in seconds, default 240; use Decimal entry to avoid confusion).
- Save your registry settings or configuration settings.
- Commit the configuration changes and restart the MailMarshal Engine service on each node.
Warning: As always, take due care when editing the Registry. Make a backup before making changes.