hmLoadTopic({
hmKeywords:"宏,宏 邮件,邮件宏",
hmTitle:"邮件宏",
hmDescription:"方便起见，在通知邮件和其他某些“内容过滤器”生成的邮件中可以使用某些宏。您可以使用以下任意宏： \$ACTUALTO\$ 某些邮件可能包含“ActualTo”字段，一般表示由原来用户在任何格式重定或别名转换之前输入的目标邮箱和主机。此宏用来替换所提到的值。 \$AV_VERSION\$ 列出您正在使用的 AntiVirus 的版本。 \$CURRENTTIM",
hmPrevLink:"cf_notifications.html",
hmNextLink:"cf_recipients.html",
hmParentLink:"cf_notifications.html",
hmBreadCrumbs:"<a href=\"security_menu.html\">安全菜单<\/a> &gt; <a href=\"cf_and_av.html\">内容过滤器与反病毒<\/a> &gt; 内容过滤编辑器 &gt; <a href=\"cf_notifications.html\">通知<\/a>",
hmTitlePath:"安全菜单 > 内容过滤器与反病毒 > 内容过滤编辑器 > 通知 > 邮件宏",
hmHeader:"<h1 class=\"p_Heading1\" style=\"page-break-after: avoid;\"><span class=\"f_Heading1\">邮件宏<\/span><\/h1>\n\r",
hmBody:"<p class=\"p_BodyText\"><span class=\"f_BodyText\">方便起见，在通知邮件和其他某些“内容过滤器”生成的邮件中可以使用某些宏。您可以使用以下任意宏：<\/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\">某些邮件可能包含“ActualTo”字段，一般表示由原来用户在任何格式重定或别名转换之前输入的目标邮箱和主机。此宏用来替换所提到的值。<\/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\">列出您正在使用的 AntiVirus 的版本。<\/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\">在处理邮件时，此宏用来替换当前时间。<\/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\">某些邮件可能包含“ActualFrom”字段，一般表示任何格式重定或别名转换之前的原始邮箱和主机。此宏用来替换所提到的值。<\/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\">此宏用来替换规则的名称，此邮件匹配规则的标准。<\/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\">扩展为邮件“发件人：”报头中包含的完整地址。<\/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\">此宏将插入邮件“发件人：”报头中找到的地址中包含的域名 （电子邮件地址中“@”右侧的值）。<\/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\">列出在邮件“发件人：”报头中找到的地址的邮箱部分 （电子邮件地址中“@”左侧的值）。<\/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\">使用 11 个字母和数字字符生成唯一 ID。示例： 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\">该宏可以使“xx”中指定的报头值在重定格式后的邮件中扩展。例如： 如果原始邮件拥有“<\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">收件人：<\/span><span class=\"f_ControlIndent\"> <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">user01@example.com<\/span><span class=\"f_ControlIndent\">”，那么会将 <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$HEADER:TO\$<\/span><span class=\"f_ControlIndent\"> 宏扩展成“user01@example.com”。如果原始邮件拥有“主题： 这是主题”，则使用“这是主题”替换 <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$HEADER:SUBJECT\$<\/span><span class=\"f_ControlIndent\"> 宏。<\/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\">与上方的 <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$HEADER:XX\$<\/span><span class=\"f_ControlIndent\"> 类似，此宏将扩展成 <\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">Message-ID<\/span><span class=\"f_ControlIndent\"> 报头值。<\/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\">当从邮件中删除一个或多个附件时，此宏将列出这些附件。<\/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\">当在邮件中发现一个或多个病毒时，此宏将列出这些病毒。<\/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\">此宏扩展成当前正在处理的邮件的文件名。<\/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\">除了该宏是从邮件 ID 值中去除<\/span><span style=\"font-family: \'Courier New\',Courier,monospace; color: #010100;\">\$HEADER:MESSAGE-ID\$<\/span><span class=\"f_ControlIndent\"> “&lt;&gt;” 以外，其他都与 \$HEADER: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\">扩展成 MDaemon 的“默认域”名，在“<a href=\"domain-manager.html\" class=\"topiclink\">域管理器<\/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\">此宏扩展成 <a href=\"domain-manager_host_name_ip.html\" class=\"topiclink\">IPv4 地址<\/a>（属于您的<a href=\"domain-manager.html\" class=\"topiclink\">默认域<\/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\">此宏扩展成 <a href=\"domain-manager_host_name_ip.html\" class=\"topiclink\">IPv6 地址<\/a>（属于您的<a href=\"domain-manager.html\" class=\"topiclink\">默认域<\/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\">此宏解析成邮件收件人的完整地址。<\/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\">此宏将插入邮件收件人的域名。<\/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\">列出收件人的邮件箱（在邮件地址中，此值在“@”左侧）。<\/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\">此宏扩展成邮件的“Reply-to”报头值。<\/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\">扩展成发送邮件的完整地址。<\/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\">此宏将插入邮件发件人的域名（在邮件地址中，此值在“@”右侧）。<\/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\">列出发件人的邮件（在邮件地址中，此值在“@”左侧）。<\/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\">显示邮件主题中包含的文本。<\/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"
})
