Skip to content

About

Scheduled GitHub Actions check of SPF, DKIM, and DMARC for jacksonasmith.com. Fails safe on resolver errors and publishes only when records change.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Alignment Checker

Mail alignment

A scheduled GitHub Actions workflow that checks the mail authentication records for jacksonasmith.com (MX, SPF, DMARC, and common DKIM selectors) every six hours, and publishes the result only when something actually changes.

The design decisions, and the three iterations it took to make it quiet and honest, are in the case study.

Current status

Record Status Value
MX ✅ aspmx.l.google.com.
SPF ✅ ~all
DMARC ✅ p=reject
DKIM ✅ google

Last changed: 2026-06-12 15:13 UTC • Score: 3/3 (DKIM informational).

How it works

  1. Query. Each record is looked up with a timeout and bounded retries. A resolver failure is recorded as an error, not as a missing record.
  2. Score. MX, SPF, and DMARC each count toward a score out of 3. DMARC only passes at p=reject. DKIM is informational, because selectors can't be discovered from DNS alone.
  3. Compare. Only the record rows are compared with what's already published, so a new timestamp alone never causes a commit.
  4. Publish. When records change, the workflow updates the table above and status.json, which drives the badge. If any query failed, it publishes nothing that run.
  5. Stay alive. GitHub disables scheduled workflows after 60 days without repository activity. Because this one is designed to go quiet, each run re-enables its own schedule through the Actions API instead of making keepalive commits.

The badge

status.json follows the shields.io endpoint badge format. Any page can show the current status with:

[![Mail alignment](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/jackson-asmith/email-alignment-checker/main/status.json)](https://github.com/jackson-asmith/email-alignment-checker)

This is how the status appears on my GitHub profile without this workflow needing write access to any other repository. See ADR 0001.

History

This workflow started in my profile repository, where it wrote the table straight into the profile README. It moved here in September 2026; the commit history for the workflow file came with it.

License

MIT

About

Scheduled GitHub Actions check of SPF, DKIM, and DMARC for jacksonasmith.com. Fails safe on resolver errors and publishes only when records change.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors