Mailtrain
★ 5.7kA self-hosted alternative to Mailchimp
About
Community Ratings
No ratings yetNew this week
Read recap →Features
- Subscriber list management
- List segmentation
- Custom fields
- Email templates, including MJML-based templates
- Custom reports
- Triggered and RSS campaign automation
- Multiple users with granular permissions and flexible sharing
- Hierarchical namespaces
- Built-in Zone-MTA for email delivery
Details
- Last Updated
- Nov 28, 2026
- Created
- Apr 4, 2016
- Install Methods
- sourcedockerdocker-compose
- Requirements
- Node.js v14 or laterMySQL v8 or later or MariaDB v10 or laterDocker and Docker Compose for the Docker deploymentMongoDB, Redis, and MariaDB for the Docker stack
- Minimum Requirements
- RAM: 4096 MBCPU: 2 vCPU
- Default Port
- 3000trusted web UI
- Authentication
- local
- Backup & Export
- database-backup
- Privacy & Independence
- No Cloud Required
- User Model
- Multi-User
- Deployment
Deployment: Docker Compose ✓4 Containers — moderate hosting footprintRuns as 4 containers
Run Mailtrain yourself
Pick how much you want to manage.
HostingerSponsored
One click
Hostinger template, runs in your own Hostinger account.
About 5 minutes to running
netcupBest match
Full control
A server with 4 GB of RAM, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A server with 4 GB of RAM, then Docker Compose.
About 20 minutes with Docker
3 more ways to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.
Is this your project? Sponsor a listing
Run Mailtrain with Docker Compose
Compose file from the Mailtrain project repository.
4 services · database: mariadb · infra: mariadb, redis, mongo
no resource limits declared
needs persistent storage (4 volumes)
docker-compose.yml · @ 89b189d · scanned Nov 26, 2026
version: '3'
services:
mysql:
image: mariadb:10.4
environment:
- MYSQL_ROOT_PASSWORD=mailtrain
- MYSQL_DATABASE=mailtrain
- MYSQL_USER=mailtrain
- MYSQL_PASSWORD=mailtrain
volumes:
- mysql-data:/var/lib/mysql
redis:
image: redis:5
volumes:
- redis-data:/data
mongo:
image: mongo:4-xenial
volumes:
- mongo-data:/data/db
mailtrain:
image: mailtrain/mailtrain:latest
ports:
- "3000:3000"
- "3003:3003"
- "3004:3004"
volumes:
- mailtrain-files:/app/server/files
volumes:
mysql-data:
redis-data:
mongo-data:
mailtrain-files:
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.
