# Bulk Domain DMARC, SPF, MX & Email Security Auditor (`sayod111/dmarc-spf-mx-deliverability-auditor`) Actor

Bulk email security and deliverability scanner for MSPs, vCISOs, and cold-email teams. Verify live MX providers, SPF syntax, and DMARC enforcement policies across thousands of domains.

- **URL**: https://apify.com/sayod111/dmarc-spf-mx-deliverability-auditor.md
- **Developed by:** [Sayed Ali](https://apify.com/sayod111) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 domain enricheds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bulk Domain DMARC, SPF, MX and Email Security Auditor

Pure async HTTP/2 DNS email security and deliverability auditor built by Sayod 111 for cybersecurity MSPs, IT agencies, and cold-email deliverability consultants.

### What This Actor Extracts

- Live DNS MX record lookup and mail host identification (Google Workspace, Microsoft 365, custom)
- SPF record presence and validity checks
- Missing, weak, or misconfigured DMARC policy detection
- 110+ website technology stack fingerprints with match evidence
- Publicly listed corporate contacts checked against live DNS MX records
- Flat Clay, n8n, Make, and CRM-ready columns

### Connect via Apify MCP

`https://mcp.apify.com/?tools=sayod111/commercepulse-pro,sayod111/b2b-revenue-lead-enricher-mcp,sayod111/b2b-hiring-intent-ats-mcp`

### More Pure HTTP/2 Intelligence Actors by Sayod 111

| Actor | Focus | Apify Store |
|---|---|---|
| CommercePulse Pro | Multi-platform e-commerce storefront audits and catalogs | https://apify.com/sayod111/commercepulse-pro |
| B2B Revenue Intelligence | Full 97-field B2B domain enrichment and ICP scoring | https://apify.com/sayod111/b2b-revenue-lead-enricher-mcp |
| B2B Hiring Intent 7-ATS Scanner | Live open roles across 7 ATS boards and buying intent signals | https://apify.com/sayod111/b2b-hiring-intent-ats-mcp |

Independent DNS and web diagnostics tool by Sayod 111.

# Actor input Schema

## `domains` (type: `array`):

Hostnames or full public company URLs. One row per company.

## `bulkTextInput` (type: `string`):

Optional pasted text, CSV or URLs. Explicitly labeled social-network URLs are skipped.

## `presetPack` (type: `string`):

Non-custom packs add curated domains; custom uses supplied domains.

## `icpProfile` (type: `string`):

Public evidence-based company scoring profile, not purchase intent prediction.

## `detectTechStack` (type: `boolean`):

Identify evidence of SaaS, ads, analytics, CMS, cloud and ATS tools.

## `verifyDns` (type: `boolean`):

DNS verifies mail infrastructure, never individual mailbox existence.

## `enrichEcommerceIntel` (type: `boolean`):

Probe public products.json for up to ten product records.

## `generateExecutiveReport` (type: `boolean`):

Create a Markdown report for managers and AI workflows.

## `reviewedDomains` (type: `array`):

Optional list of domains that your team has already reviewed. Used to adjust action priority.

## `onlyPushQualified` (type: `boolean`):

When true, below-threshold or excluded accounts do not go to Dataset/CSV/brief and are not charged.

## `minIcpFitScore` (type: `integer`):

0 to 100 evidence-based score; applies to onlyPushQualified and qualified CSV.

## `minDataQualityScore` (type: `integer`):

0 to 100 score for verifiable public evidence coverage; not a deliverability or buying-intent score.

## `includeTechnologies` (type: `array`):

Optional exact names from the detector (e.g. Shopify, HubSpot); adds a fit score bonus.

## `excludeTechnologies` (type: `array`):

Exclude companies when listed tools were positively detected.

## `requireAllIncludedTechnologies` (type: `boolean`):

When enabled, nonmatching or unobserved technology filters prevent qualification.

## `targetCountries` (type: `array`):

Optional country code or label (e.g. DE, Germany). Country inferred only when public website data allows it.

## `targetLanguages` (type: `array`):

Optional HTML language values (e.g. en, de).

## `strictTargetGeo` (type: `boolean`):

If true and a location/language filter is provided, exclude records without a corresponding public hint.

## `incrementalMode` (type: `boolean`):

Use persistent named Apify Key-Value Store to compare previous snapshots.

## `monitorNamespace` (type: `string`):

Reuse this non-sensitive campaign name for comparisons. Use a separate name for each independent campaign.

## `onlyPushChanged` (type: `boolean`):

When incrementalMode is enabled, push and charge NEW_DOMAIN or independently confirmed public changes only. Missing pages and unconfirmed disappearance are not billable changed-only results.

## `monitorHistoryLimit` (type: `integer`):

Keep 2 to 30 compact historical counts per domain, without copying historical contacts into the timeline.

## `migrateLegacySnapshots` (type: `boolean`):

Optional migration reads old per-domain stores when v3 state is missing. Off by default to avoid unnecessary storage requests.

## `maxDomains` (type: `integer`):

Hard cap on distinct targets to process.

## `maxPagesPerDomain` (type: `integer`):

Includes homepage. Up to eight pages.

## `concurrency` (type: `integer`):

Maximum simultaneously active domain crawls.

## `requestTimeoutSecs` (type: `integer`):

Per request timeout; DNS uses a separate four-second resolver timeout.

## `pageConcurrency` (type: `integer`):

Limits subpage concurrency for each website; no browser or proxy required.

## `minPageDelaySecs` (type: `number`):

Optional polite pacing per company. A larger robots.txt crawl-delay takes priority.

## `maxEventChargesUsd` (type: `number`):

Optional additional budget ceiling for the five named PPE events. 0 disables this local cap. Does not include platform fees or synthetic events.

## `respectRobotsTxt` (type: `boolean`):

Public website requests follow robots rules. This field accepts legacy saved inputs.

## `verifyTls` (type: `boolean`):

TLS verification is always enabled. This field accepts legacy saved inputs.

## Actor input object example

```json
{
  "domains": [
    "apify.com"
  ],
  "bulkTextInput": "",
  "presetPack": "custom",
  "icpProfile": "general",
  "detectTechStack": true,
  "verifyDns": true,
  "enrichEcommerceIntel": false,
  "generateExecutiveReport": false,
  "reviewedDomains": [],
  "onlyPushQualified": false,
  "minIcpFitScore": 0,
  "minDataQualityScore": 0,
  "includeTechnologies": [],
  "excludeTechnologies": [],
  "requireAllIncludedTechnologies": false,
  "targetCountries": [],
  "targetLanguages": [],
  "strictTargetGeo": false,
  "incrementalMode": false,
  "monitorNamespace": "default",
  "onlyPushChanged": false,
  "monitorHistoryLimit": 12,
  "migrateLegacySnapshots": false,
  "maxDomains": 100,
  "maxPagesPerDomain": 2,
  "concurrency": 5,
  "requestTimeoutSecs": 10,
  "pageConcurrency": 2,
  "minPageDelaySecs": 0,
  "maxEventChargesUsd": 0,
  "respectRobotsTxt": true,
  "verifyTls": true
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `brief` (type: `string`):

No description

## `csv` (type: `string`):

No description

## `qualifiedCsv` (type: `string`):

No description

## `changeAlerts` (type: `string`):

No description

## `researchPacks` (type: `string`):

No description

## `billingAudit` (type: `string`):

No description

## `actionQueueCsv` (type: `string`):

No description

## `actionQueueJson` (type: `string`):

No description

## `domainAudit` (type: `string`):

No description

## `usageDashboard` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "apify.com"
    ],
    "enrichEcommerceIntel": false,
    "generateExecutiveReport": false,
    "maxPagesPerDomain": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("sayod111/dmarc-spf-mx-deliverability-auditor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "domains": ["apify.com"],
    "enrichEcommerceIntel": False,
    "generateExecutiveReport": False,
    "maxPagesPerDomain": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("sayod111/dmarc-spf-mx-deliverability-auditor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "apify.com"
  ],
  "enrichEcommerceIntel": false,
  "generateExecutiveReport": false,
  "maxPagesPerDomain": 2
}' |
apify call sayod111/dmarc-spf-mx-deliverability-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sayod111/dmarc-spf-mx-deliverability-auditor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/q3Tei2tg5XYdhTzAw/builds/LxKCMq0rIReDnrsdm/openapi.json
