Back to All Articles
Architecture6 min read

Inside an Inbound-Only Mail Pipeline: Designing Zero-Abuse Ephemeral Email

How separating web traffic from MX nodes and disabling outbound SMTP prevents spam relay abuse.

Marcus Vance, Systems Administrator
Published on 2026-11-19

The #1 Challenge of Running Disposable Email

Public temporary email platforms face a constant operational challenge: bad actors attempting to abuse mail infrastructure for outbound phishing or spam relaying. The cleanest architectural solution is strict inbound-only isolation.


Key Architectural Safeguards

  • Outbound SMTP Disabled: Postfix is configured exclusively for inbound MX reception and local pipe delivery. Zero outbound mail ever leaves the node.
  • Pipe-to-Webhook Ingestion: Incoming MIME streams are parsed immediately by a lightweight ingestion worker that extracts sanitized HTML, plain text, OTP codes, and magic links.
  • Real-Time Redis Pub/Sub: Parsed messages are published to a Redis channel keyed by the ephemeral session, pushing updates to connected browsers via Server-Sent Events (SSE) with sub-second latency.
  • Automated 60-Minute TTL: Every session key and message list carries a strict 3,600-second expiration, ensuring volatile data vanishes automatically without manual intervention.
M

About the Author

Marcus Vance, Systems Administrator is a cybersecurity researcher and infrastructure engineer specializing in distributed mail routing, anti-spam heuristics, and privacy-preserving protocols.