Documentation

Getting started with MailSentry

Everything you need to set up DMARC monitoring and protect your domain in under 15 minutes.

Quick start

MailSentry monitors your domain's DMARC reports โ€” the automated reports ISPs send when email authentication fails. Here's how to get started:

  1. 1

    Create an account

    Sign up at /login. No credit card required for the first domain.

  2. 2

    Add your domain

    From the dashboard, click Add domain and enter your sending domain (e.g. yourcompany.eu).

  3. 3

    Update your DMARC record

    Add or update your DNS _dmarc.TXT record to include the MailSentry reporting address. See DMARC setup below.

  4. 4

    Wait for reports

    ISPs send DMARC reports every 24 hours. You'll see your first data within 1โ€“2 days of DNS propagation.

DMARC DNS setup

DMARC works via a DNS TXT record at _dmarc.yourdomain.com. If you don't have a DMARC record yet, start with a monitoring-only policy (p=none) so you don't affect mail delivery:

v=DMARC1; p=none; rua=mailto:reports@mailsentry.normwise.eu; ruf=mailto:forensics@mailsentry.normwise.eu; pct=100; adkim=s; aspf=s;

Copy the record from your dashboard, not from this page. The address shown there carries a +tag that identifies your organisation, so reports can be attributed to your account โ€” and a self-hosted or white-label MailSentry uses its own report mailbox (set via REPORT_RUA_ADDRESS / REPORT_RUF_ADDRESS) rather than the hosted one above.

If you already have a DMARC record, add the MailSentry address as an additional rua recipient (comma-separated):

v=DMARC1; p=none; rua=mailto:existing@example.com,mailto:reports@mailsentry.normwise.eu;

Because the report mailbox sits on a different domain than the one you are monitoring, DMARC (RFC 7489 ยง7.1) requires an authorisation record on the receiving side. MailSentry publishes it for the hosted addresses; if you self-host, publish <yourdomain>._report._dmarc.<your-report-domain> with the value v=DMARC1 โ€” without it many receivers will refuse to send you reports.

DMARC policy progression

Once you've been monitoring for a few weeks and understand your legitimate sending sources, you can tighten your policy:

Policy Effect When to use
p=none Monitor only, no action Start here. Always.
p=quarantine Failing email sent to spam When >95% of email passes
p=reject Failing email blocked When all senders are aligned

Reading your reports

The DMARCInsight dashboard summarises your aggregate reports. Here's what the key metrics mean:

  • Pass rate โ€” percentage of emails that passed both SPF and DKIM alignment. Aim for >98%.
  • Source IPs โ€” servers sending email claiming to be from your domain. Unexpected IPs may indicate spoofing or misconfigured third-party senders.
  • SPF alignment โ€” whether the envelope-from domain matches your DMARC domain.
  • DKIM alignment โ€” whether the d= tag in the DKIM signature matches your DMARC domain.
  • Disposition โ€” what the receiving server did with the message (none / quarantine / reject).

API access and key scopes

Another system โ€” your compliance dashboard, a ticketing integration, a script โ€” can read MailSentry through the API. Issue a key under Account › API access and send it as a bearer token:

curl -H "Authorization: Bearer ms_…" https://mailsentry.normwise.eu/api/domains

A key is limited to the scopes you grant it, and can be given an expiry date. A key issued for posture checks cannot delete a domain, cancel your subscription, mint further keys or start an account deletion โ€” the API answers 403 with the scope that was missing. If you request no scopes, the key is issued read-only. This is least privilege as required by ISO 27001 A.5.15/A.8.2, NIS2 art. 21(2)(i) and DORA art. 9.

Loading scopes…

Keys issued before scopes existed keep the access they already had, so nothing breaks โ€” but they carry every scope. Revoke and re-issue them with only what the integration needs.

NIS2 compliance

If you operate in the EU and fall under NIS2 Article 21, DMARC enforcement (p=reject or p=quarantine) is one of the technical controls required for email security. MailSentry helps you track your progress toward full enforcement and provides the audit trail needed for compliance reporting.

Need help?

If you're stuck, email support@normwise.eu and include your domain name and a description of the issue. We respond within one business day.