Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

INFO: What causes some multi-part messages to be 'dead-lettered?'

Expand / Collapse


This article applies to:

  • Trustwave MailMarshal (SEG)
  • Trustwave ECM/MailMarshal Exchange

Question:

  • What causes some multi-part messages to be 'dead-lettered?'
  • What causes the error  "Too many Lines (11) before boundary?"
  • Can MailMarshal unpack messages that lack boundaries?

 

Symptoms:

  • Error: "Too many Lines (11) before boundary."
  • Errors appear in the deadletters.

Note: This error is not generated in MailMarshal SEG 7.X or above.

Updated behavior in MailMarshal SEG 7.X and above

In MailMarshal 7.X and above, "Too many lines before boundary" issues are handled as follows:

  • If data is found between the declaration and boundary (or after all boundaries), MailMarshal captures this data into files.
  • If the data is evaluated as text, it is submitted for content scanning.

The registry key described below is irrelevant to these newer versions. If this key exists, it is removed during the upgrade to 7.X.

Behavior in Earlier Versions:

The "Too many Lines (11) before boundary" error occurs when a multi-part message includes a declared boundary, but the boundary is not used to define the body part of the message. This type of message is not a breach of MailMarshal rules, but it is non-standard behavior typically associated with spam or messages generated by custom scripts.

MailMarshal cannot correctly unpack the part of the message that has no boundaries. MailMarshal is first and foremost a security product.  By default, it does not allow unexamined content to pass through to recipients. Because MailMarshal cannot unpack and examine messages with boundary issues, it does not forward such messages to recipients and generates an error. MailMarshal expects to see the first boundary used at the start of the first component following the header. By default, it allows a maximum of ten lines before the first boundary, and generates an error on the eleventh line.

 

Information:

Warning: Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Trustwave cannot guarantee that problems resulting from the incorrect use of Registry Editor can be resolved. Make sure that you back up your Registry prior to making any changes.

If necessary, you can modify the 10-line default value to reduce the frequency of getting this kind of dead letter error. For example, if you increase this value to 500, then MailMarshal allows a multi-part message  to include a maximum of 500 lines before a boundary is required.

There is a slight risk associated with this change. Because MailMarshal is now allowing 500 lines of data through, MailMarshal cannot correctly unpack the message. This message text is still subject to normal checking by TextCensor or SpamCensor.

To change the default value through the registry, follow these steps:

     

  1. On the MailMarshal Array Manager or standalone server, edit the Registry.
  2. Locate the MailMarshal Engine registry entry. For MailMarshal SMTP 6.8 on 32 bit systems:
    HKEY_LOCAL_MACHINE\SOFTWARE\Marshal\MailMarshal\Default\Engine
    • For details of the Registry locations for each MailMarshal version, see the following Trustwave Knowledgebase articles:
  3. Add the following registry DWORD value:

    MaxPreBoundaryLines

     

  4. Set the maximum value of lines before boundary to 500, a DWORD of 500 decimal (the default is 10).
  5. Commit configuration changes.
  6. Restart the MailMarshal Engine service on each email processing server.

 

Notes:

  • For more information about deadletters, see Knowledge Base article Q10868.
  • In version 5.X the Registry entry must be completed on each server.

This article was previously published as:
NETIQKB34537

To contact Trustwave about this article or to request support:


Rate this Article:
     
Tags:

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.