Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denghongcai/forsaken-mail
a self-hosted disposable mail service
https://github.com/denghongcai/forsaken-mail
mail nodejs self-hosted
Last synced: 5 days ago
JSON representation
a self-hosted disposable mail service
- Host: GitHub
- URL: https://github.com/denghongcai/forsaken-mail
- Owner: denghongcai
- License: gpl-2.0
- Created: 2015-12-30T10:00:52.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-26T11:10:28.000Z (about 1 year ago)
- Last Synced: 2024-11-30T08:07:30.046Z (12 days ago)
- Topics: mail, nodejs, self-hosted
- Language: JavaScript
- Size: 33.2 KB
- Stars: 1,487
- Watchers: 41
- Forks: 519
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - denghongcai/forsaken-mail - a self-hosted disposable mail service (JavaScript)
README
Forsaken-Mail
==============
A self-hosted disposable mail service.[Online Demo](http://disposable.dhc-app.com)
### Installation
#### Setting up your DNS correctly
In order to receive emails, your smtp server address should be made available somewhere. Two records should be added to your DNS records. Let us pretend that we want to receive emails at ```*@subdomain.domain.com```:
* First an MX record: ```subdomain.domain.com MX 10 mxsubdomain.domain.com```. This means that the mail server for addresses like ```*@subdomain.domain.com``` will be ```mxsubdomain.domain.com```.
* Then an A record: ```mxsubdomain.domain.com A the.ip.address.of.your.mailin.server```. This tells at which ip address the mail server can be found.You can use an [smtp server tester](http://mxtoolbox.com/diagnostic.aspx) to verify that everything is correct.
#### Let's Go
general way:
```
npm install && npm start
```
if you want to run this inside a docker container
```
docker build -t denghongcai/forsaken-mail .
docker run --name forsaken-mail -d -p 25:25 -p 3000:3000 denghongcai/forsaken-mail
```
Open your browser and type in
```
http://localhost:3000
```Enjoy!