Skip to content

About

Professional Email Administration System

Topics

Resources

Contributing

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

363 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-PostfixAdmin

The mail server admin panel you deploy in one minute.
Domains, mailboxes, aliases, admins and a self-service portal for Postfix + Dovecot —
one Go binary, a REST API, 20 themes, no PHP.

Release Docker image Release build Downloads Go version License Stars

Try it · Screenshots · Features · Documentation · Download

Go-PostfixAdmin dashboard

✨ Why admins pick it

  • 📦 One file, nothing else — UI, API docs and translations live inside a single static binary. No PHP-FPM, no web server, no Node in production. Docker image, .deb and .rpm too.
  • ⚡ Running in a minute — docker compose up gives you the panel and a database with the first admin ready.
  • 🔌 API-first — every click is a documented REST call (/api/v1, Swagger UI) with JWT and API keys: script provisioning from day one.
  • 👥 Built for teams — superadmins, domain admins and fine-grained RBAC roles decide who sees and changes what.
  • 🙋 Users help themselves — mailbox owners change their password, set forwarding and vacation replies in their own portal.
  • 🎨 Your look, any screen — 20 themes (yes, Windows XP), PT/EN/ES, and a layout that scales from a laptop to 4K.
  • 🛠️ Ops built in — see Postfix/Dovecot/Rspamd status, tweak settings and open an SSH terminal from the browser.
  • 🔁 Drop-in for PostfixAdmin data — same tables and $2y$ bcrypt hashes, on MariaDB/MySQL or PostgreSQL.

🚀 Try it in one minute

git clone https://github.com/jniltinho/go-postfixadmin.git && cd go-postfixadmin
docker compose up -d

Open http://localhost:8080 and sign in as admin@example.com / adminpassword (change it in docker-compose.yml).

Already have a database? Use the image from GitHub Packages (linux/amd64 and linux/arm64):

docker run -d -p 8080:8080 \
  -e DB_URL="postfix:pass@tcp(your-db:3306)/postfix?charset=utf8mb4&parseTime=True" \
  ghcr.io/jniltinho/go-postfixadmin:latest

Prefer a package? Grab the binary, .deb or .rpm from Releases:

./postfixadmin --generate-config && ./postfixadmin migrate
./postfixadmin admin --add-superadmin admin@example.com:'S3cure!Pass'
./postfixadmin server

Production setup with Postfix, Dovecot and Sieve: step-by-step guide.

📸 Screenshots

Pick your style — 20 themes, switched live in Settings:

Default, Windows XP, Matrix, Breeze dark, Aurora and Violet dark themes

Email accounts Domains
Email accounts Domains
Settings: configuration Settings: web SSH terminal
Configuration Terminal
User self-service portal REST API (Swagger)
User portal Swagger UI

More in the screenshot gallery.

🧩 What you get

Mail Domains with limits and quotas, mailboxes, aliases, alias domains, backup MX, per-domain transports
Users Self-service portal: password, forwarding, vacation auto-reply (Dovecot Sieve)
Access Superadmins, domain admins, RBAC roles, API keys with expiry
Security Short-lived JWT + httpOnly refresh cookie, login rate limiting, CSRF checks, strong password policy
Settings Themes and language, service status, safe config.toml editing (secrets never shown), opt-in SSH terminal with pinned host key
Operations Audit log, mail delivery log, quota reports, MySQL backups, Postfix transport_maps server, OpenTelemetry export
Everywhere English, Português, Español · FullHD, QHD and 4K · MariaDB/MySQL and PostgreSQL

Every feature and API route: FEATURES.md.

🐳 Docker images

Every release tag publishes a multi-arch image to GitHub Packages through the Docker image workflow:

docker pull ghcr.io/jniltinho/go-postfixadmin:latest     # or :1.0, :1.0.89

Tags, platforms, environment variables and how to publish: Documentation › Docker image.

📚 Documentation

Documentation guide Install options, Docker image, configuration, Settings, themes, reverse proxy, security, API
Mail server setup Postfix, Dovecot, MariaDB/PostgreSQL, Sieve, rsyslog — end to end
Development Build, CLI reference, frontend workflow, tests
Contributing Workflow, conventions, adding a theme or a language

Built with Go 1.27 · Echo v5 · GORM · Vue 3 · Vite+ · Tailwind CSS v4 · xterm.js

⭐ Support the project

If Go-PostfixAdmin saves you time, star the repository — it helps other admins find it. Issues and pull requests are welcome; start with CONTRIBUTING.md.

License

MIT — see LICENSE. Go-PostfixAdmin is an independent project, inspired by and not affiliated with PostfixAdmin.

About

Professional Email Administration System

Topics

Resources

Contributing

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages