E-MailRelay

E-MailRelay

Lightweight SMTP store-and-forward MTA with optional POP3 access

E-MailRelay screenshot

E-MailRelay is a lightweight SMTP store-and-forward mail server that spools incoming messages and forwards them to an upstream smarthost or via DNS MX routing. It can also expose the spool via POP3, and is designed to be “policy-free” so you can implement custom mail policies and processing using external scripts.

Key Features

  • SMTP server for spooling inbound email and forwarding queued mail to a smarthost
  • Store-and-forward workflow (server spools; client forwards) with polling and retry support
  • Optional POP3 server to retrieve messages directly from the spool directory
  • Scriptable hooks for address verification and message filtering/processing
  • Can integrate with SpamAssassin (spamd) for spam marking or rejection
  • Single-process, non-blocking I/O design for efficient resource usage
  • Cross-platform usage patterns (commonly deployed on Unix-like systems and Windows)

Use Cases

  • Mail relay for intermittently connected networks (queue locally, forward when online)
  • Simple inbound mail spool with POP3 retrieval for small environments or appliances
  • Custom mail processing gateway using external filters (rewrite, copy, deliver to maildir)

Limitations and Considerations

  • Does not provide IMAP directly; IMAP typically requires delivering to maildir and using a separate IMAP server
  • Being policy-free means common behaviors (retry/bounce strategy, delivery rules) may require scripting and operational setup

E-MailRelay is a pragmatic choice when you need a small, efficient SMTP spool-and-forward service with optional POP3 access. It fits especially well in setups where you want minimal dependencies and prefer implementing mail-handling logic via scripts rather than a large integrated mail stack.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

docker-mailserver

docker-mailserver

Containerized mail server stack for SMTP and IMAP with anti-spam

17.7k
2k
Last commit: 4d ago

Production-ready mail server stack in a Docker container with SMTP, IMAP/POP3, LDAP auth, anti-spam/AV, DKIM/DMARC, and optional OAuth2 support.

Alternative to:
Gmail
Gmail
+16
Postal

Postal

Open source mail delivery platform for inbound and outbound email

16.2k
1.2k
Last commit: 3mo ago

Postal is an open source mail delivery platform for sending and receiving email, with SMTP support, web-based management, and tools for running your own SendGrid-style se...

Alternative to:
SendGrid
SendGrid
+10
Mail-in-a-Box

Mail-in-a-Box

Turnkey email server with webmail, DNS, TLS, and admin panel

15.1k
1.5k
Last commit: 13d ago

Mail-in-a-Box is a one-click mail server appliance for Ubuntu, bundling SMTP/IMAP, webmail, DNS, TLS automation, backups, and an admin control panel.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+15
mailcow: dockerized

mailcow: dockerized

Docker-based email server suite with a web admin interface

11.9k
1.6k
Last commit: 1mo ago

Mailcow is a dockerized mail server suite providing SMTP/IMAP, webmail, anti-spam/anti-virus, and domain/mailbox administration via a unified web UI.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+16
Stalwart Mail Server

Stalwart Mail Server

All-in-one mail and collaboration server for modern and legacy protocols

11.2k
602
Last commit: 20h ago

All-in-one open-source mail and collaboration server with SMTP, IMAP, JMAP, CalDAV, CardDAV, and WebDAV, plus integrated anti-spam and phishing protection.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+19
Mailu

Mailu

Docker-based mail server with webmail and admin interface

7k
960
Last commit: 1mo ago

Mailu is a full-featured mail server distributed as Docker images, providing SMTP/IMAP/POP3, webmail, administration UI, and built-in security and anti-spam features.

Alternative to:
Microsoft Exchange Online
Microsoft Exchange Online
+19