📧 MailRider

Universal SMTP + IMAP Server for Local Development

Routes ALL email addresses and domains to a single inbox. Perfect for testing multi-tenant applications and email workflows.

MailRider Web UI

Clean, modern Web UI for viewing and managing test emails

Why MailRider?

📬

Universal Routing

Accepts emails to ANY address and domain. All emails route to one inbox for easy testing.

🚀

Instant Setup

One command to start. Docker-based, no complex configuration. Up and running in seconds.

🔍

Web UI Included

Built-in web interface for viewing emails, headers, attachments, and HTML content.

🔌

Standard Protocols

SMTP (port 2587) and IMAP (port 143) with standard Maildir format. Works with any email client.

💾

Data Persistence

Emails persist between container restarts. Volume support for keeping test data.

🎯

Perfect for Testing

Test multi-workspace routing, email workflows, and notification systems without real mail servers.

Quick Start

🐳 Using Docker Run

docker run -d \
  -p 2587:2587 \
  -p 1143:143 \
  -p 8082:8082 \
  -v mailrider-data:/var/mail/faktron.local \
  --name mailrider \
  petrfilip/mailrider:latest

📦 Using Docker Compose

# Save as docker-compose.yml
version: '3.8'
services:
  mailrider:
    image: petrfilip/mailrider:latest
    ports:
      - "2587:2587"
      - "1143:143"
      - "8082:8082"
    volumes:
      - mailrider-data:/var/mail/faktron.local
    restart: unless-stopped
volumes:
  mailrider-data:
docker-compose up -d

✅ Access Your Mail Server

  • Web UI: http://localhost:8082
  • SMTP: localhost:2587
  • IMAP: localhost:1143
  • Credentials: inbox@mailrider.local / test

📨 Send a Test Email

echo -e "From: test@example.com\nTo: user@anydomain.com\nSubject: Test\n\nHello!" | curl --url "smtp://localhost:2587" --mail-from "test@example.com" --mail-rcpt "user@anydomain.com" --upload-file -

All emails sent to any address will appear in the Web UI and IMAP inbox!

Documentation