Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/0xerr0r/mailcatcher
- Owner: 0xERR0R
- License: apache-2.0
- Created: 2018-02-05T20:02:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-12T04:04:15.000Z (7 months ago)
- Last Synced: 2024-10-11T02:29:28.552Z (4 months ago)
- Topics: docker, go, golang, mailcatcher, raspberry-pi, self-hosted, smtp-server, trash-mails, trashmail
- Language: Go
- Homepage:
- Size: 6.02 MB
- Stars: 36
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 .