Download EmailFilter
Version 2.0.1, released 30 November 2026. One container image for linux/amd64 and linux/arm64, about 5 MB to download.
4.9 MBimage download
Docker Compose
The repository has a ready docker-compose.yml and .env, the lists, and the default scores.
git clone https://github.com/stefanpejcic/EmailFilter emailfilter
cd emailfilter
docker compose up -d
EmailFilter now answers on http://localhost:8000, from this machine only. Set an API key before you open it to other machines:
echo "EMAILFILTER_API_KEY=$(openssl rand -hex 32)" >> .env
docker compose up -d
docker run
Without the repository, the image brings its own copy of the lists:
docker run -d --name emailfilter \
-p 127.0.0.1:8000:8000 \
-e EMAILFILTER_API_KEY="$(openssl rand -hex 32)" \
-e EMAILFILTER_DISPOSABLE_URL=https://stefanpejcic.github.io/disposable-email-domains/domains.txt \
ghcr.io/stefanpejcic/emailfilter:stable
Changes to the lists and reputation are lost with the container unless you mount /app/lists, /app/config and /app/data.
Image tags
| Tag | What it is |
|---|---|
2.0.1 | This exact release. Use it in production. |
stable | The latest release. |
X.Y | The latest patch release of a minor version. |
Check the signature
Every image is signed with cosign in GitHub Actions and carries an SBOM and build provenance:
cosign verify ghcr.io/stefanpejcic/emailfilter:2.0.1 \
--certificate-identity-regexp '^https://github.com/stefanpejcic/EmailFilter/' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Requirements
- Docker with Docker Compose, on Linux, amd64 or arm64
- Outgoing port 53 for DNS, 25 for the SMTP check, 443 for RDAP and 43 for WHOIS
- About 25 MB of memory with the full disposable list loaded