Library / Security & Compliance
Security & Compliance
Validate SPF, DKIM and DMARC results on new Outlook emails
Runs on each new Outlook email, extracts the Received-SPF, DKIM and DMARC headers, and evaluates each authentication result for legitimacy.
What it does
![]({{ $env.WEBHOOK_URL }} ## Evaluate SPF, DKIM, and DMARC Compliance This section focuses on detailed analysis and validation of SPF, DKIM, and DMARC headers. Each authentication mechanism is evaluated to determine its status, providing critical insights into the email’s legitimacy and adherence to security protocols. The workflow begins with the Received-SPF Header? node, which checks if the "Received-SPF" header exists. If found, the workflow proceeds to the Extract Received-SPF Header node to isolate the SPF validation results. These results are aggregated and analyzed using the Aggregate Received-SPF Headers node, with the final outcome recorded by the Set SPF Value node. If no SPF header is found, the workflow instead records this absence using the No SPF Found node. The DKIM-Signature Header? node performs a similar function for DKIM validation, checking for the presence of a DKIM signature. If the header is found, the DKIM Signature Found node confirms its presence, while the No DKIM Signature Found node handles its absence. The DMARC Header? node checks for the presence of a DMARC header, indicating compliance with the domain’s published DMARC policy. If present, the workflow extracts and evaluates it via the Extract DMARC Header and Set DMARC Value nodes. If the header is missing, the No DMARC Header node records this information. By systematically evaluating these headers, the workflow provides a comprehensive understanding of the email's authentication status. This granular analysis strengthens email security by detecting potential spoofing or misconfigurations in the sender’s authentication setup.
The steps
- Trigger on New Email
- Retrieve Headers of Email
- Extract Received Headers
- Remove Extra Received Headers
- Extract Original From IP
- Query IP Quality Score API
- Query IP API
- Authentication-Results Header?
- Extract Authentication-Results Header
- Received-SPF Header?
- DKIM-Signature Header?
- Set SPF Value
- Extract Received-SPF Header
- DKIM Signature Found
34 steps in total.
Similar automations
Email AutomationMonitor SPF, DKIM and DMARC across multiple domains with Apify, Gmail and Slack24 stepsEmail AutomationAudit SPF, DKIM and DMARC DNS for sheet domains with Google DNS, GPT-4o-mini and Telegram16 stepsSecurity & ComplianceCheck Outlook Emails for Spoofing and Sender IP Risk80 stepsSecurity & ComplianceCheck Email Headers for IP Reputation and Spoofing34 steps