Back to services

EmailRelay

A small and easy to configure SMTP and POP3 server for Windows and Linux.

View alternatives to EmailRelay
Suggest edit
Open source
Self-hostable
GPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: The official website content could not be retrieved this time, so the following is written from existing knowledge of the project. For details, version numbers and platform support, please refer to the official website https://emailrelay.sourceforge.net/.

Overview

EmailRelay is a small open-source mail transfer program written in C++, licensed under the GPL and hosted on SourceForge. It is not a full mail system like Postfix or Exim; it focuses on doing just a few things well: SMTP store-and-forward, an SMTP proxy, and a simple POP3 service. It is small and easy to configure, which makes it a good fit for scenarios where all you need is mail relaying.

Key Features

  • Store-and-forward: Receives mail over SMTP and stores it in a local spool directory, then forwards it to a designated downstream SMTP server immediately, on a schedule, or on demand.
  • SMTP proxy: Can sit between a mail client and an upstream server, forwarding messages as they are received.
  • POP3 service: Lets you read stored mail directly over POP3, which is handy for internal testing or simple mail retrieval.
  • Filter mechanism: Can call an external script or program for each incoming message, to process content, filter spam, adjust routing, and so on.
  • Authentication and encryption: Supports SMTP authentication and TLS-encrypted connections.
  • Command-line driven: Configured mainly through command-line options, and can run as a background daemon or as a Windows service.

Target Users and Use Cases

  • Users on a home or small-office network who need a local mail relay to collect and forward mail;
  • Environments with an unreliable network connection, where mail needs to be held temporarily and sent out when possible;
  • Administrators who want to give certain devices or applications (printers, monitoring systems, scripts, etc.) a simple SMTP entry point and then forward everything to an external mail provider;
  • Developers who need to insert custom processing logic while mail is being forwarded;
  • Developers and testers setting up a mail test environment.

Core Strengths

  • Lightweight, with few dependencies and low resource usage;
  • Focused feature set, so you don't have to maintain the complex configuration of a full mail system;
  • Highly flexible, thanks to extensibility through external filter programs;
  • Free and open source, and runs on a variety of operating systems.

Installation and Deployment

The project provides source code. On Unix-like systems it is usually built and installed with configure/make, and some Linux distributions may also offer ready-made packages. Windows users can use the official installer. Once installed, start it with command-line options, for example to specify the listening port, the spool directory and the target server to forward to. For the specific options, please consult the official documentation.

Things to Note

  • EmailRelay is positioned as a relay and forwarding tool; it does not provide full mailbox hosting, webmail or a sophisticated anti-spam system;
  • If you expose it to the public internet, be sure to configure authentication and access control so that it doesn't become an open relay.