How to protect your municipality’s sender address

DMARC tells receiving mail servers what to do with mail that claims to come from your domain but fails the checks: deliver it, put it in spam, or reject it.

SPF alone is not enough. SPF only checks the hidden envelope sender, not the address people see in their mail client. Only DMARC ties SPF and DKIM to that visible address.

This also applies to domains that send no mail, such as the website’s: anyone can send mail in their name. Such domains should publish p=reject straight away.

For domains that do send mail, you get there in steps. Each step is a single DNS record at _dmarc.your-domain.ch.

Recommendations follow the published standard (RFC 7489 / DMARCbis). Talk to your IT provider before changing records.

No effective DMARC: turn on monitoring

Publish a DMARC record with p=none and an address for reports (rua). Delivery does not change; from now on you get daily reports from the large mail providers.

A record with p=none but no rua counts as “No effective DMARC” here: it asks for no action and nobody receives reports.

_dmarc  TXT  "v=DMARC1; p=none; rua=mailto:dmarc@example.ch"

Monitoring only: read the reports, then enforce

If rua is missing, add it first: without reports, nobody is monitoring anything.

Read the reports for two to four weeks. Check that every legitimate sender (newsletter tool, municipal software, e-billing, IT provider) passes SPF or DKIM for your domain. Then move to p=quarantine.

pct is obsolete and was removed from the new DMARC standard. Enforce a policy fully or not at all; records with pct below 100 or t=y count as monitoring here.

_dmarc  TXT  "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.ch"

Quarantine: move to reject

When the reports show that no legitimate mail is affected any more, move to p=reject. Receiving servers are then asked to reject spoofed mail instead of filing it as spam.

_dmarc  TXT  "v=DMARC1; p=reject; rua=mailto:dmarc@example.ch"

Reject: keep it that way

Keep the reports coming and check them whenever a new service should send mail in your name. Good next steps are MTA-STS and TLS-RPT for encrypted delivery.

No data

We know no website for your municipality, or the domain did not answer. Tell us your domain through the corrections and we will add it.

Talk to your IT provider

Many municipalities share an IT provider or the cantonal IT office. DMARC can often be set up there for many municipalities at once. The large differences between cantons point to exactly that.

Tools that help

DMARC reports arrive by email as XML files. Any tool that reads them will do: this rating depends only on your DNS record, not on the tool.