{"repo":"toinbox/simplerelay","free":true,"listed":false,"github":"https://github.com/toinbox/simplerelay","clone":"git clone https://github.com/toinbox/simplerelay.git","description":"SimpleRelay - Self-hosted SMTP relay with web dashboard, DNS validation, and per-sender access control (FastAPI/Postfix/Docker)","language":"Python","stars":181,"topics":["docker","docker-compose","email","email-sender","email-service","postfix","self-hosted","smtp","smtp-relay","smtp-relay-server"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"SimpleRelay Self-hosted multi-tenant SMTP relay with web dashboard. Routes outbound email through multiple upstream SMTP providers based on sender address. Built with FastAPI, Postfix, PostgreSQL, Docker. Demo Try it at relay.mailtoinbox.vip - register a free account and test the full system. Configuration (.env) Required Variable Description Example ---------- ------------- --------- RELAY ADMIN EMAIL Admin login email (created on first start) admin@example.com RELAY ADMIN PASSWORD Admin password strongpassword RELAY SECRET KEY JWT secret, generate with python3 -c \"import secrets; print(secrets.token urlsafe(32))\" x7f... RELAY HOSTNAME Public hostname of this server (used in EHLO, shown in UI) relay.example.com RELAY PUBLIC IP Server public IP (for SPF/PTR guidance) 203.0.113.10 RELAY BASE URL Full URL of the web dashboard (for verification email links) https://relay.example.com:8080 Database (PostgreSQL) Default values work out of the box. Change passwords for production. Variable Default ---------- --------- POSTGRES USER simplerelay POSTGRES PASSWORD simplerelay POSTGRES DB simplerelay RELAY DATABASE URL postgresql://simplerelay:simplerelay@db:5432/simplerelay System SMTP (optional) Used for sending verification and password reset emails to users. If left empty, these emails are logged to console only (dev mode). Variable Description Example ---------- ------------- --------- RELAY SMTP HOST SMTP server smtp.gmail.com RELAY SMTP PORT Port 587 RELAY SMTP USER Username nore","default_branch":null,"files":null,"tree":[],"storefront":"/r/toinbox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/toinbox/simplerelay/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}