Postal
A complete and fully featured mail server for use by websites & web servers.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: When this entry was written, the official website could not be fetched, so the content below is compiled from what is already known about Postal. For specific installation steps and system requirements, please refer to the official documentation at https://docs.postalserver.io/.
Introduction
Postal is an open-source, self-hostable mail delivery platform built for sending and receiving email for websites and web applications. Its features are similar to commercial email delivery services such as SendGrid, Mailgun, and Postmark, but it runs entirely on your own servers. You stay in control of both your email data and your sending infrastructure. The project is developed and maintained by Krystal, a UK hosting provider, is written in Ruby on Rails, and is released under the MIT license.
Key Features
- Multiple ways to send: Applications can send mail through standard SMTP or by calling the HTTP API, making it easy to integrate with existing programs.
- Multiple organizations and mail servers: A single Postal instance can host multiple organizations, and each organization can have multiple mail servers, each with its own credentials, domains, and settings. This suits separating multiple projects or clients.
- Inbound mail and routing: Postal can receive mail sent to specific domains or addresses, then forward it to an HTTP endpoint, another email address, or an SMTP server, making it easy for applications to process incoming mail.
- Webhook notifications: Events such as a message being delivered, bounced, opened, or having a link clicked can be pushed to your application in real time.
- Open and click tracking: Track whether emails are opened and which links are clicked.
- Delivery logs and message viewer: The web interface lets you view the delivery status, detailed logs, and content of every email, which makes troubleshooting easier.
- IP pool management: Assign different sending IPs to different servers or sending rules to protect your sender reputation.
- Domain verification: Guides you through setting up DNS records such as SPF and DKIM to improve deliverability.
- Spam and virus detection: Integrates with tools such as SpamAssassin and ClamAV to scan incoming mail.
Target Users and Use Cases
- Development teams that need to send large volumes of transactional email (sign-up verification, password resets, order notifications, etc.)
- Companies that want to move away from commercial sending services to cut costs or keep control of their data
- Hosting providers and agencies that need to offer email sending to multiple clients or projects
- Applications that need to process incoming email programmatically (such as ticketing systems and email reply parsing)
Core Strengths
- Fully self-hosted, so your data never passes through a third party
- Free and open source, with no per-email charges
- A complete web management interface, with support for both SMTP and the API
- Multi-tenant support, suitable for sharing one instance across multiple projects or clients
Installation and Deployment
Postal officially recommends deploying with Docker and provides a command-line tool (postal) that handles initialization, configuration generation, admin user creation, and starting the services. The general process is as follows:
- Prepare a Linux server and install dependencies such as Docker and Git;
- Prepare a MySQL/MariaDB database;
- Get the Postal installation scripts and generate the configuration files;
- Initialize the database and create the first admin account;
- Start the services and set up a reverse proxy (such as Caddy) to provide HTTPS access;
- Configure DNS records (MX, SPF, DKIM, return path, etc.) according to the documentation.
Technical Requirements
- A dedicated Linux server, ideally with a clean public IP and port 25 open (many cloud providers block this port by default)
- A Docker runtime environment
- A MySQL or MariaDB database
- A domain whose DNS records you can modify
Things to Note
- Running your own sending service means you must maintain your IP reputation and handle bounces and blocklist issues yourself, which requires some operations experience.
- Postal is designed for programmatic, application-driven sending. It is not a mailbox system like Gmail for individual users to send and receive email, and it does not include IMAP/POP3 mailboxes.
Discover more
One Time Secret
Share sensitive information securely with self-destructing links that are only viewable once.
AnonAddy
Email forwarding service for creating aliases.
AnyCable
Realtime server for reliable two-way communication over WebSockets, Server-sent events, etc.
Apprise
Apprise allows you to send a notification to almost all of the most popular notification services available to us today such as: Telegram, Discord, Slack, Amazon SNS, Gotify, etc.
Artalk
Comment system built in Golang, providing a lightweight and highly customizable solution for adding comments to your website.
Centrifugo
Language-agnostic real-time messaging (Websocket or SockJS) server.