Hub
Email

Microsoft Exchange Message Tracking

Exchange Server 2019 message tracking — SMTP receive/send, mailbox delivery, transport routing, shadow redundancy, anti-spam filtering, distribution group expansion, and delivery failure DSNs.

Quick Start

uv tool install eventum-generator
git clone https://github.com/eventum-generator/content-packs.git
cd content-packs
eventum generate \
  --path generators/email-exchange/generator.yml \
  --id exch \
  --live-mode true

Event Types

Event IDDescriptionFrequencyCategory
RECEIVEMessage received (SMTP/mailbox)~26%email
DELIVERMessage delivered to mailbox~24%email
SENDMessage sent between transport services~12%email
SUBMITSubmitted from Mailbox to Transport~10%email
HAREDIRECTShadow redundancy copy created~7%email
AGENTINFOAnti-spam verdicts, transport rules~6%email
NOTIFYMAPIMessage detected in Outbox via MAPI~5%email
RESOLVERecipient resolved via Active Directory~2%email
HADISCARDShadow message discarded~2%email
EXPANDDistribution group expanded~2%email
DEFERDelivery temporarily delayed~1%email
TRANSFERMessage forked (content conversion)~1%email
FAILPermanent delivery failure~0.5%email
DSNDelivery Status Notification (bounce)~0.5%email
REDIRECTMessage redirected to alternate recipient~0.3%email
DROPMessage silently dropped (spam/policy)~0.3%email

Realism Features

  • Cross-template message correlation — RECEIVE pushes message context; downstream events consume from pool
  • Lognormal message sizes — realistic right-skewed distribution (most 2–75 KB, some up to 25 MB)
  • Anti-spam verdicts — SCL, SFV, IPV, BCL, and country code fields with weighted distributions
  • Distribution group expansion — EXPAND events reference real group names with member counts
  • Categorized email subjects — business, automated, newsletter, spam, phishing with weighted selection
  • DSN correlation — bounce events reference original message-id with empty return-path

Sample Output

{
    "@timestamp": "2026-02-22T17:06:16+00:00",
    "event": {
        "action": "receive",
        "category": ["email"],
        "dataset": "microsoft_exchange.messagetracking",
        "outcome": "success"
    },
    "email": {
        "direction": "inbound",
        "from": { "address": ["jdoe@partner-corp.com"] },
        "subject": "MFA enrollment reminder",
        "to": { "address": ["d.brown@contoso.com"] }
    },
    "microsoft_exchange": {
        "messagetracking": {
            "event_id": "RECEIVE",
            "source": "SMTP",
            "directionality": "Incoming"
        }
    },
    "observer": { "product": "Exchange Server", "vendor": "Microsoft" }
}

Parameters

ParameterDefaultDescription
hostnameEXCH01Exchange server short name
domaincontoso.comOrganization domain
server_ip10.0.1.10Exchange server IP
dag_nameDAG01Database Availability Group name
agent_ida1b2c3d4-...Elastic Agent UUID
agent_version8.17.0Elastic Agent version

Related Generators