Skip to main content

Join us at Gartner SEC London and discover how LevelBlue can help you secure what’s next. Learn More

Loading...
Loading...

HOWTO: Controlling "folding" of header lines longer than 998 characters

Expand / Collapse


This article applies to:

  • MailMarshal (SEG)

Question:

  • How does MailMarshal handle messages that have a header line longer than 998 characters?
  • Can MailMarshal repair header lines that are longer than the RFC maximum of 998 characters?

Information:

Internet RFCs set a maximum of 998 characters for SMTP header lines. Some servers (and most email clients) ignore this standard.

  • In supported versions of MailMarshal, by default these messages are fixed by "folding" the offending headers onto multiple lines as specified in the RFC. This action should ensure that all compliant SMTP software accepts these messages.
  • You can choose not to change the headers.

Procedure:

To disable folding of long header lines:

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

As always, take due care when editing the Registry. LevelBlue recommends that you make a backup before making any changes.


To contact LevelBlue about this article or to request support:


Rate this Article:
     

Related Articles



Add Your Comments


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