# Postal

Postal is a self-hosted communication app. Run your own mail delivery infrastructure with a web interface, webhooks, IP pools, and spam filtering integrations for inbound and outbound email.

Canonical page: https://ourlocalhost.com/app/7851/postal

## Description

Run your own mail delivery infrastructure with a web interface, webhooks, IP pools, and spam filtering integrations for inbound and outbound email.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

73/100 (Good), based on 4 of 5 factors.
- Maintained: 79 (last commit 13 days ago)
- Popular: 85 (16,984 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 95 (no serious findings, CI, tests)

## Links

- Official website: https://postalserver.io
- GitHub: https://github.com/enterprise/premium-support
- Documentation: https://docs.postalserver.io

## Common questions

### Do I need to set up the YAML configuration file before starting Postal?

Yes. Postal uses a version 2 YAML configuration file where you set your web hostname, HTTPS, and database credentials. Without a correct config, Postal can't connect to its database or serve the web interface on your domain. You can generate a full template with descriptions using `rake postal:generate_config_docs`.

### How do I initialize the database and create my first admin user?

After installing, run `postal initialize` to set up the database and `postal make-user` to create your first login account. Skipping these leaves you with an empty system and no way to sign in to the web interface.

### Why is my outgoing mail being treated as spam?

You likely haven't verified your sending domain and published its DKIM record. Add the domain, verify it via DNS, regenerate the DKIM key, and publish the pending DKIM record (name and value are shown in Postal) before activating it.

### Are the prerequisite install scripts safe to use in production?

No. The convenience scripts install database services with insecure passwords, so they're fine for testing but shouldn't be used as-is for production environments.

### How do I upgrade to Postal v3?

Postal v3 is available and can be installed via the v3 prerequisite script; the documentation includes an upgrade guide to follow for moving from v2.

### Does Postal support spam and virus filtering?

Yes, it integrates with SpamAssassin, rspamd and ClamAV so both incoming and outgoing messages can be checked for spam and threats.

## Alternatives

- Amazon SES
- FreeResend
- Mailgun: Mailgun is email automation for developers.
- Sendgrid: Scalable email delivery for transactional email SendGrid transparently handles DKIM, SPF, ISP rate limits, content inspection, bounces, and…
- useSend: useSend is an open-source, self-hostable email platform for developers and small teams that sends transactional, product, and marketing ema…

---
Source: Our Local Host (https://ourlocalhost.com/app/7851/postal), the self-hosted and open-source app directory.
