Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xerr0r/mailcatcher

Self hosted mail trash service for raspberry pi
https://github.com/0xerr0r/mailcatcher

docker go golang mailcatcher raspberry-pi self-hosted smtp-server trash-mails trashmail

Last synced: 3 months ago
JSON representation

Self hosted mail trash service for raspberry pi

Awesome Lists containing this project

README

        

![Build](https://github.com/0xERR0R/mailcatcher/workflows/Build/badge.svg)

# 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 .