selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

SimpleLogin logo

Self-host SimpleLogin

v4.83.5

Email alias server for anonymous sending and receiving

ReleaseOpen SourceAGPL-3.0
Updatedlast week
LanguagePython
Setup difficultyAdvanced
MobileNative app
Stars
7 137
RAM
2 GB
Ports
7777 (webapp HTTP port (reverse-proxied by Nginx)), 20381 (email handler SMTP port that Postfix forwards to)
Requires
Postfix, PostgreSQL
Docker
simplelogin/app
Install with Docker
SimpleLogin screenshot 1SimpleLogin screenshot 2

What is SimpleLogin?

SimpleLogin is an open-source (AGPL-3.0) email alias service: it gives you aliases that forward anything sent to them into your real inbox, and lets you reply or write new mail through the alias so your personal address stays hidden. Aliases can live on your own custom domain, on catch-all domains or directories created on the fly, and several mailboxes can be attached to one account; PGP-encrypted forwarding, TOTP/WebAuthn two-factor login, sender blocking and a "Sign in with SimpleLogin" OAuth/OIDC provider are part of the server too. The back-end is a Flask application published as the simplelogin/app container, run as several long-lived containers (web app, e-mail handler, job runner) plus a one-off database migration on a private Docker bridge network. Self-hosting is hands-on: a Linux server with ports 25, 80 and 443 open, a domain whose DNS you control, Postfix configured to relay into the app, PostgreSQL, Nginx and DKIM/SPF/DMARC records. New self-hosted accounts are not premium, so unlimited aliases require setting the "lifetime" column in the users table; registration can be closed with DISABLE_REGISTRATION. SimpleLogin also ships separate Chrome, Firefox, Safari, Edge, Android and iOS clients that can be pointed at your own API URL.

SimpleLogin alternatives

All self-hosted alternatives to Apple Hide My Email → All self-hosted alternatives to Firefox Relay →

Should you self-host SimpleLogin?

SimpleLogin scores 71/100 on selfhost.directory (how scoring works) and ranks #5 of 109 in Email. It has 7 137 GitHub stars, +97 in the last 30 days.

It shipped 24 stable releases in the past year. The latest, v4.83.5, came out on 6 November 2026. New versions land roughly every 6 days.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Listmonk (80/100, 24 286 stars). It scores higher overall, so compare the two before you pick. See SimpleLogin vs Listmonk side by side.

Features

  • Alias directories
  • Alias restore
  • Block sender
  • Catch-All Aliases
  • Custom domains
  • Email Aliasing
  • Multiple mailboxes
  • OpenID Connect provider
  • PGP Encryption
  • REST API
  • Send from alias
  • Social Login
  • Spam Filteringopt-in via SPAMASSASSIN_HOST and ENABLE_SPAM_ASSASSIN
  • Two-factor authentication

SimpleLogin README

SimpleLogin | Protect your online identity with email alias


Your email address is your online identity. When you use the same email address everywhere, you can be easily tracked. More information on https://simplelogin.io

How to install SimpleLogin

Install SimpleLogin with Docker

Environment variables
URL, EMAIL_DOMAIN, SUPPORT_EMAIL, EMAIL_SERVERS_WITH_PRIORITY, DISABLE_ALIAS_SUFFIX, DKIM_PRIVATE_KEY_PATH, DB_URI, FLASK_SECRET, GNUPGHOME, LOCAL_FILE_UPLOAD, POSTFIX_SERVER, DISABLE_REGISTRATION, DISABLE_ONBOARDING
docker run -d \
    --name sl-app \
    -v $(pwd)/sl:/sl \
    -v $(pwd)/sl/upload:/code/static/upload \
    -v $(pwd)/simplelogin.env:/code/.env \
    -v $(pwd)/dkim.key:/dkim.key \
    -v $(pwd)/dkim.pub.key:/dkim.pub.key \
    -p 127.0.0.1:7777:7777 \
    --restart always \
    --network="sl-network" \
    simplelogin/app:3.4.0

The README self-hosting guide runs four containers from the same image (web app, e-mail handler, job runner and a one-off database migration) on a sl-network Docker bridge, alongside Postfix, PostgreSQL and Nginx.

How to configure SimpleLogin

  • URLhttp://localhost:7777Server url
  • EMAIL_DOMAINsl.landomain used to create alias
  • SUPPORT_EMAILsupport@sl.lantransactional email is sent from this email address
  • EMAIL_SERVERS_WITH_PRIORITYMX servers that custom domains must point to.
  • DISABLE_ALIAS_SUFFIXBy default, new aliases must end with ".{random_word}". This is to avoid a person taking all "nice" aliases. this option doesn't make sense in self-hosted. Set this variable to disable this option.

SimpleLogin releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

What is the custom domain feature?

You can add your own domains and create aliases such as contact@your-domain.com, which the project says can replace paid business-email hosting.

Is an email alias permanent?

Like a normal email address, an alias keeps working until you delete it.

What is a reverse-alias?

A reverse-alias is a special generated alias per contact that lets you send mail from an alias; relaying strips your personal address.

What is alias directory or catch-all feature?

Both create aliases on the fly without opening the app: catch-all accepts any local part on your domain (under 128 characters), while a directory uses your_directory+ANYTHING addresses.

What is SimpleLogin's business model?

Revenue comes only from subscriptions, so the product stays ad-free.

How SimpleLogin is different than temporary email services?

Aliases are permanent rather than disposable, and the messages are not stored by SimpleLogin but delivered to your mailbox.

What is the difference between SimpleLogin and other email forwarding services?

It points to fully open-source server and client code, coverage of desktop extensions and mobile apps, the option to run it on your own server, and unlimited sending, replying and bandwidth.

Can I use email aliases for important services like bank, government, etc?

Yes: the project says email delivery is highly resilient, notifies you when something cannot be delivered, and lets you add a secondary mailbox as a backup.

How can I delete my account?

Account deletion is available at the bottom of the settings page and is irreversible, with no way to recover the data.

I accidentally deleted an alias, can I restore it?

By default a deleted alias moves to a global trash after 30 days and can be restored in that window; aliases on your own domain or on provided subdomains can always be restored.

What is the maximum email size?

The current limit is 25 MB, partly because PGP encryption is a heavy process; for large attachments the project suggests uploading the file and sending a link.

More in Email

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…