hmLoadTopic({
hmKeywords:"Macros,Macros Message,Message Macros",
hmTitle:"Message Macros",
hmDescription:"For your convenience, certain macros may be used in the notification messages and other messages that the Content Filters generate. You may use any of the following macros:",
hmPrevLink:"cf_notifications.html",
hmNextLink:"cf_recipients.html",
hmParentLink:"cf_notifications.html",
hmBreadCrumbs:"<a href=\"security_menu.html\">Security Menu<\/a> &gt; <a href=\"cf_and_av.html\">Content Filter and AntiVirus<\/a> &gt; Content Filter Editor &gt; <a href=\"cf_notifications.html\">Notifications<\/a>",
hmTitlePath:"Security Menu > Content Filter and AntiVirus > Content Filter Editor > Notifications > Message Macros",
hmHeader:"<h1 class=\"p_Heading1\" style=\"page-break-after: avoid;\"><span class=\"f_Heading1\">Message Macros<\/span><\/h1>\n\r",
hmBody:"<p class=\"p_BodyText\"><span class=\"f_BodyText\">For your convenience, certain macros may be used in the notification messages and other messages that the Content Filters generate. You may use any of the following macros:<\/span><\/p>\n\r<div style=\"text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0.5000rem 0 0.1875rem 0;\"><table style=\"border:none; border-spacing:0.3125rem;\">\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$ACTUALTO\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Some messages may contain an &quot;ActualTo&quot; field which generally represents the destination mailbox and host as it was entered by the original user prior to any reformatting or alias translation. This macro is replaced with that value.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$AV_VERSION\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Lists the version of AntiVirus that you are using.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$CURRENTTIME\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro is replaced with the current time when the message is being processed.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$ACTUALFROM\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Some messages may contain an &quot;ActualFrom&quot; field which generally represents the origination mailbox and host prior to any reformatting or alias translation. This macro is replaced with that value.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$FILTERRULENAME\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro is replaced by the name of the rule whose criteria the message matched.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$FROM\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Expands to the full address contained in the message\'s &quot;From:&quot; header.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$FROMDOMAIN\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro will insert the domain name contained in the address found in the message\'s &quot;From:&quot; header (the value to the right of &quot;@&quot; in the email address).<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$FROMMAILBOX\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Lists the mailbox portion of the address found in the message\'s &quot;From:&quot; header (the value to the left of &quot;@&quot; in the email address).<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$GEN_GUID\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Generates a unique ID with 11 alpha-numeric characters. Example: 0XVBASADTZC<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$HEADER:XX\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro will cause the value of the header specified in place of the &quot;xx&quot; to be expanded in the reformatted message. &nbsp;For example: &nbsp;If the original message has &quot;<\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">TO:<\/span><span class=\"f_ControlIndent\"> <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">user01@example.com<\/span><span class=\"f_ControlIndent\">&quot; then the <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$HEADER:TO\$<\/span><span class=\"f_ControlIndent\"> macro will expand to &quot;user01@example.com&quot;. &nbsp;If the original message has &quot;Subject: This is the subject&quot; then the <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$HEADER:SUBJECT\$<\/span><span class=\"f_ControlIndent\"> macro would be replaced with the text &quot;This is the subject&quot;<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$HEADER:MESSAGE-ID\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">As with <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$HEADER:XX\$<\/span><span class=\"f_ControlIndent\"> above, this macro will expand to the value of the <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">Message-ID<\/span><span class=\"f_ControlIndent\"> header. <\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$LIST_ATTACHMENTS_REMOVED\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">When one or more attachments are removed from the message, this macro will list them.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$LIST_VIRUSES_FOUND\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">When one or more viruses is found in a message, this macro will list them.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$MESSAGEFILENAME\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro expands to the f<\/span><span style=\"font-family: \'Times New Roman\',Times,Georgia,serif; color: #010100;\">i<\/span><span class=\"f_ControlIndent\">le name of the current message being processed.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$MESSAGEID\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">As <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$HEADER:MESSAGE-ID\$<\/span><span class=\"f_ControlIndent\"> above, except this macro strips &quot;&lt;&gt;&quot; from the value of the message ID.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$PRIMARYDOMAIN\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Expands to MDaemon<\/span><span style=\"font-family: \'Times New Roman\',Times,Georgia,serif; color: #010100;\">\'<\/span><span class=\"f_ControlIndent\">s Default Domain name, which is designated on the <a href=\"domain-manager.html\" class=\"topiclink\">Domain Manager<\/a>.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$PRIMARYIP\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro expands to the <a href=\"domain-manager_host_name_ip.html\" class=\"topiclink\">IPv4 address<\/a> of your <a href=\"domain-manager.html\" class=\"topiclink\">Default Domain<\/a>.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$PRIMARYIP6\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro expands to the <a href=\"domain-manager_host_name_ip.html\" class=\"topiclink\">IPv6 address<\/a> of your <a href=\"domain-manager.html\" class=\"topiclink\">Default Domain<\/a>.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$RECIPIENT\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro resolves to the full address of the message recipient.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$RECIPIENTDOMAIN\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro will insert the domain name of the message recipient.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$RECIPIENTMAILBOX\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Lists the recipient<\/span><span style=\"font-family: \'Times New Roman\',Times,Georgia,serif; color: #010100;\">\'<\/span><span class=\"f_ControlIndent\">s mailbox (the value to the left of &quot;@&quot; in the email address).<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$REPLYTO\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro expands to the value of the message<\/span><span style=\"font-family: \'Times New Roman\',Times,Georgia,serif; color: #010100;\">\'<\/span><span class=\"f_ControlIndent\">s &quot;Reply-to&quot; header.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$SENDER\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Expands to the full address from which the message was sent.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$SENDERDOMAIN\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">This macro will insert the domain name of the message<\/span><span style=\"font-family: \'Times New Roman\',Times,Georgia,serif; color: #010100;\">\'<\/span><span class=\"f_ControlIndent\">s sender (the value to the right of &quot;@&quot; in the email address).<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; height:2.2500rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$SENDERMAILBOX\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; height:2.2500rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Lists the sender<\/span><span style=\"font-family: \'Times New Roman\',Times,Georgia,serif; color: #010100;\">\'<\/span><span class=\"f_ControlIndent\">s mailbox (the value to the left of &quot;@&quot; in the email address).<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<tr>\n\r<td style=\"vertical-align:top; width:13.0625rem; padding:0; border:none\"><p style=\"text-align: right; margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span style=\"font-size: 0.90rem; font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$SUBJECT\$<\/span><\/p>\n\r<\/td>\n\r<td style=\"vertical-align:top; width:20.8750rem; padding:0; border:none\"><p style=\"margin: 0.3125rem 0.5625rem 0 0.5000rem;\"><span class=\"f_ControlIndent\">Displays the text contained in the message<\/span><span style=\"font-family: \'Times New Roman\',Times,Georgia,serif; color: #010100;\">\'<\/span><span class=\"f_ControlIndent\">s subject.<\/span><\/p>\n\r<\/td>\n\r<\/tr>\n\r<\/table>\n\r<\/div>\n\r<p class=\"p_ControlHeading\" style=\"page-break-after: avoid;\"><span class=\"f_ControlHeading\">&nbsp;<\/span><\/p>\n\r<p class=\"p_ControlHeading\" style=\"page-break-after: avoid;\"><span class=\"f_ControlHeading\">&nbsp;<\/span><\/p>\n\r"
})
