Countries
The Countries page shows per-country failure rate over a chosen window, with an allow / flag / block policy per country. It is the tenant’s handle on geographic DMARC risk.
Requirements
Country data requires geolocation enrichment. Set IP2LOCATION_DB_PATH to an IP2Location LITE DB11 binary file; the geolocation job then populates country, region, and city on every parsed record. Without it, the Countries page shows an empty state and the BlockedCountryTraffic detector produces nothing.
Layout
- Time-range selector (
7d,30d,90d). - Row per country: country code, name, volume, authentication failure rate, policy (
allow,flag,block). - Inline policy toggle on each row (admin only).
The column sort lives on the page; flipping a header re-orders the visible rows without re-fetching.
Policy modes
- Allow: the country is treated as normal. No special surfacing.
- Flag: the country is shown on the dashboard with a visual marker. Traffic from it is counted separately on widgets that support the split.
- Block: the alerts pipeline fires the
BlockedCountryTrafficdetector on any traffic from this country.
Drillmark does not drop or quarantine mail. The policy here is about reporting and alerting only; what the receiving mail server does with the mail is a separate decision governed by SPF, DKIM, and the domain’s published DMARC policy.
Disabling country features entirely
Unset IP2LOCATION_DB_PATH. The geolocation job stops running, the Countries page renders empty, and the blocked-country detector produces nothing. Existing country rows on parsed records are left alone; they simply stop being written for new records.