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 variables can I use in MailMarshal Exchange 7.X?

Expand / Collapse


This article applies to:

  • Trustwave ECM/MailMarshal Exchange 7.X

Question:

  • What variables can I use in MailMarshal Exchange 7.X?

Information:

The following is a list of variables that can be used in the email templates, message stamps, and logging classifications in MailMarshal Exchange 7.X:

Note:

  • Variables are marked with curly braces { }.
  • Additional date formatting sub-variables are listed in the User Guide or Help.

Variable Data inserted
{$MessageDigestTableHTML} The HTML version of a message digest detail listing. See also {MessageDigestTableText}. See the User Guide or Help for options.
{Administrator} Email address of the administrator as set on the General tab of Server Properties.
{AttachmentName} File name of the attached file that triggered a rule condition.
{Date} The current date. See also "Date Formatting" in the User Guide or Help.
{DateLastRun} The date of the previous MailMarshal message digest for a folder.
{Errorlevel} The last error returned by a virus scanner or an external command.
{ExternalCommand} The name of the last External Command used.
{Env=varname} Inserts the value of a Windows environment variable.
{ExternalSender} Returns 'y' or 'n' depending on whether the sender was outside or inside the "allowed to relay" space.
{File=fullpath} Inserts a text file within the body of a message (for instance, can be used to insert the MailMarshal log for a message in a notification email body).
{Folder} The name of the folder that is the subject of a MailMarshal message digest email.
{FolderRetention} The retention period for a folder that is the subject of a MailMarshal message digest email.
{From} Email address in the 'From' field of the message.
{HasAttachments} Returns '1' if the message has attachments.
{Hostname} The host name of the server.
{If variable}...[{else}...]{endif} Allows conditional substitution of text. The condition is true if the variable is not empty. For example: {If VirusName} This message contained the virus {VirusName}.{endif} The Else clause is optional.
{InitialMessageBody} The first 200 characters of the body of the message.
{Install} The install location of MailMarshal.
{LastTextCensorRuleTriggered} The name of the TextCensor Script that was run and the phrase that triggered.
{LocalRecipient} The message recipient, if any, within the local domains. Includes multiple recipients and CC recipients.
{LocalSender} The message sender, if any, within the local domains.
{LogName} The name of the Logging Classification used.
{Message-ID} Original SMTP Message ID of the message.
{MessageFullName} Full path to the message file.
{MessageCount} The number of messages quarantined for a user in a specific folder and listed in a message digest email.
{MessageDigestTableText} The plain text version of a message digest detail listing. See also{$MessageDigestTableHTML}.
{MessageName} Filename only of the message.
{MessageSize} The size of the message as originally received.
{Recipient} Message recipient. Includes multiple recipients and CC recipients.
{ReleasePassThrough} Inserts a code recognized by MailMarshal to release the message applying no further rules.
{ReleaseProcessRemaining} Inserts a code recognized by MailMarshal to release the message applying any additional applicable rules.
{RemoteDomainName} The name of the domain on the remote machine.
{ReplyTo} Email address in the 'Reply to' field of the message.
{ReturnPath} SMTP "Mail From" email address.
{RuleTitle} The title of the rule triggered by the message.
{Sender} Email address of the sender. Uses the address in the "From" field unless it is empty, in which case the "Reply to" address is used.
{SsmUrl} The URL of the MailMarshal Quarantine Management Web site.
{StrippedFiles} The names of any attachment files stripped from the message by rule action.
{Subject} Message subject, decoded if applicable. Use this variable in most cases. See also {RawSubject}.
{ThreadWorking} The MailMarshal working folder name.
{Time} The current time. See also "Date Formatting" in the User Guide.
{UnsubscribeUrl} The URL used to unsubscribe from digests. This variable can be used in digest templates. The variable evaluates blank if a user cannot unsubscribe. Suggested usage:
{if UnsubscribeUrl}To unsubscribe from this digest, use the following link: {UnsubscribeUrl} {endif}
{VirusName} Name of the virus detected. This information is only available if the virus scanner being used is a DLL based scanner. If a command line scanner reports a virus this variable is set to "Unknown."
{VirusScanner}

Name of the virus scanner used.


To contact Trustwave about this article or to request support:


Rate this Article:
     

Add Your Comments


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