Postfix milter that removes tracking pixels and suspicious remote content from HTML emails
732
Striptrack is a lightweight Postfix milter written in Rust that sanitizes inbound HTML emails by removing common tracking elements before delivery.
It is built for operators who want a pragmatic mail processing component that is:
Many HTML emails include remote resources used for open tracking, invisible rendering, or message fingerprinting. Striptrack sits on the mail path and removes the most common high-signal tracking patterns.
The current implementation focuses on:
0x0 to 3x3GET /doc12366 — milter8366 — HTTP APISTRIPTRACK_DB_PATH — SQLite database pathSTRIPTRACK_MILTER_BIND — milter listen addressSTRIPTRACK_API_BIND — HTTP API listen addressSTRIPTRACK_API_ENABLED — enable or disable the HTTP API (true, false, 1, 0)docker run -d \
--name striptrack \
-p 12366:12366 \
-p 8366:8366 \
-e STRIPTRACK_DB_PATH=/data/striptrack.db \
-e STRIPTRACK_MILTER_BIND=0.0.0.0:12366 \
-e STRIPTRACK_API_BIND=0.0.0.0:8366 \
-v striptrack-data:/data \
striptrack:latest
Core endpoints:
GET /healthGET /docGET /domainsPOST /domainsDELETE /domains/{domain}GET /statsGET /logsDELETE /logsDELETE /logs/day/{YYYY-MM-DD}DELETE /logs/month/{YYYY-MM}Striptrack is intentionally narrow in scope.
It is a good fit when you need:
modify /etc/postfix/main.cf :
milter_default_action = accept
milter_protocol = 6
smtpd_milters = inet:localhost:12366
non_smtpd_milters = inet:localhost:12366
Content type
Image
Digest
sha256:565b51de3…
Size
33 MB
Last updated
26 days ago
docker pull yaat/striptrack