Email header analyser
hopi_email_header_analyserAnalyse raw email headers (the full source from Show original or View message source) without any network call: lists every Received hop in delivery order with host, IP, time and delay between hops; extracts From, Reply-To, Return-Path, Subject, Date, Message-ID and mailer; reads SPF, DKIM and DMARC results from Authentication-Results, ARC-Authentication-Results and Received-SPF with the domain each was checked for; and flags warning signs such as Reply-To on a different domain, SPF or DMARC failure, no DKIM, a display name that pretends to be an address or brand, a first hop from a home connection, clock skew and a mismatched Message-ID domain. Returns a verdict (consistent, caution or suspicious). It does not query DNS, so it reports what the receiving servers recorded rather than re-checking it. Source: https://hopi.co.uk/email-header-analyser/
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"headers": "<headers>"
},
"name": "hopi_email_header_analyser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | Yes | The raw message headers, pasted as text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| auth | No | ||
| bulk | No | ||
| date | No | ||
| from | No | ||
| hops | No | ||
| mailer | No | ||
| dateIso | No | ||
| replyTo | No | ||
| subject | No | ||
| summary | Yes | ||
| verdict | No | ||
| hopCount | No | ||
| warnings | No | ||
| messageId | No | ||
| authServer | No | ||
| authSource | No | ||
| returnPath | No | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) | |
| headerCount | No | ||
| originatingIp | No | ||
| dkimSignatures | No | ||
| transitSeconds | No | ||
| messageIdDomain | No | ||
| returnPathDomain | No |