Customizing the SMTP response sent by SpamProfiler action


This article applies to:

  • Trustwave MailMarshal (SEG) 6.4 and above
  • SpamProfiler

Question:

  • How do I change the response that MailMarshal SMTP returns when a message is rejected at the Receiver by SpamProfiler? 

Procedure:

In MailMarshal SMTP 6.4 and above, SpamProfiler can be configured to reject messages at the receiver (during the SMTP conversation). By default the SMTP message returned is 550 Message refused.

You can customize this message with a Registry setting.

Warning: The format of this setting differs depending on the version of MailMarshal. Read the following section carefully, and back up your Registry before making changes.

To customize the refusal message:

  1. On the Array Manager, edit the Registry (10.X: use Advanced Settings in the Management Console)
  2. Navigate to the SEG Receiver key:
    • In version 8.X: HKEY_LOCAL_MACHINE\SOFTWARE\Trustwave\Secure Email Gateway\Default\Receiver
    • 10.X: value names have the prefix Receiver. (Receiver dot).
    • For full details of the location for each product version, see article Q10832.
  3. Edit the value AuthEngineAction.
    • MailMarshal 6.5.3 and below: Add the custom text after the first semi-colon. Note that the number of semi-colons in the string changes depending on the MailMarshal version. Do not add or remove semi-colons.

      For example:
      1;550 Message Rejected by MailMarshal SpamProfiler;;0;;

    • MailMarshal 6.5.4 and above: Add the custom text at the end of the value (after the fourth semi-colon).

      For example:
      1;0;;;550 Message Rejected by MailMarshal SpamProfiler
  4. To apply the change, commit configuration, and then re-start the Receiver service on all processing servers.

As always, take due care when editing the registry.

Notes:

When you upgrade MailMarshal, this Registry entry is automatically updated to the correct format for the new version. 


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