Skip to content
Projects

0xERR0R/mailcatcher has 42 GitHub stars and 5 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-19 01:24 UTC. Last push 2026-11-16.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Self hosted mail trash service for raspberry pi

Self-hosted

README.md

Original

Build

mailcatcher

mailcatcher is a small self hosted SMTP server which catches all incoming mails and sends them to a defined mail address. Can be used with dyndns to create own addresses for trash mails. Works fine on Raspberry PI 3!

Installation with docker

  • copy docker-compose.yml
  • change variables (see bellow)
  • run with "docker-compose up -d"
  • configure port forwarding for internet port 25 in your router (for example map internet port 25 to your Raspberry PI's port 1025)

Variables:

Name Description
MC_PORT SMTP listening port. Must match mapped port of container.
MC_HOST email with this host name will be accepted (typically your dyndns host name)
MC_REDIRECT_TO destination address (all mails will be redirected to this address
MC_SENDER_MAIL This address will be used for mail sending
MC_SMTP_HOST use this SMTP server
MC_SMTP_PORT with SMTP Port
MC_SMTP_USER Authentication for SMTP server
MC_SMTP_PASSWORD Authentication for SMTP server

Hints

If you are using GMail SMTP, please activate the usage of insecure apps on https://support.google.com/accounts/answer/6010255?hl=en .