## Please enable JavaScript to view this site.

# MDaemon Email Server 26.0

- Zoom Window Out
- Larger Text | Smaller Text
- Hide Page Header
- Show Expanding Text
- Printable Version
- Save Permalink URL

Message Macros | Scroll Prev Top Next More

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:

$ACTUALTO$ | Some messages may contain an "ActualTo" 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.
$AV_VERSION$ | Lists the version of AntiVirus that you are using.
$CURRENTTIME$ | This macro is replaced with the current time when the message is being processed.
$ACTUALFROM$ | Some messages may contain an "ActualFrom" field which generally represents the origination mailbox and host prior to any reformatting or alias translation. This macro is replaced with that value.
$FILTERRULENAME$ | This macro is replaced by the name of the rule whose criteria the message matched.
$FROM$ | Expands to the full address contained in the message's "From:" header.
$FROMDOMAIN$ | This macro will insert the domain name contained in the address found in the message's "From:" header (the value to the right of "@" in the email address).
$FROMMAILBOX$ | Lists the mailbox portion of the address found in the message's "From:" header (the value to the left of "@" in the email address).
$GEN_GUID$ | Generates a unique ID with 11 alpha-numeric characters. Example: 0XVBASADTZC
$HEADER:xx$ | This macro will cause the value of the header specified in place of the "xx" to be expanded in the reformatted message. For example: If the original message has "TO: user01@example.com" then the $HEADER:TO$ macro will expand to "user01@example.com". If the original message has "Subject: This is the subject" then the $HEADER:SUBJECT$ macro would be replaced with the text "This is the subject"
$HEADER:MESSAGE-ID$ | As with $HEADER:[xx]$ above, this macro will expand to the value of the Message-ID header.
$LIST_ATTACHMENTS_REMOVED$ | When one or more attachments are removed from the message, this macro will list them.
$LIST_VIRUSES_FOUND$ | When one or more viruses is found in a message, this macro will list them.
$MESSAGEFILENAME$ | This macro expands to the f i le name of the current message being processed.
$MESSAGEID$ | As $HEADER:MESSAGE-ID$ above, except this macro strips "<>" from the value of the message ID.
$PRIMARYDOMAIN$ | Expands to MDaemon's Default Domain name, which is designated on the Domain Manager.
$PRIMARYIP$ | This macro expands to the IPv4 address of your Default Domain.
$PRIMARYIP6$ | This macro expands to the IPv6 address of your Default Domain.
$RECIPIENT$ | This macro resolves to the full address of the message recipient.
$RECIPIENTDOMAIN$ | This macro will insert the domain name of the message recipient.
$RECIPIENTMAILBOX$ | Lists the recipient's mailbox (the value to the left of "@" in the email address).
$REPLYTO$ | This macro expands to the value of the message's "Reply-to" header.
$SENDER$ | Expands to the full address from which the message was sent.
$SENDERDOMAIN$ | This macro will insert the domain name of the message's sender (the value to the right of "@" in the email address).
$SENDERMAILBOX$ | Lists the sender's mailbox (the value to the left of "@" in the email address).
$SUBJECT$ | Displays the text contained in the message's subject.

MDaemon v26.0.0 - March 2026. Copyright © 1996-2026. All rights reserved. MDaemon Technologies