Join GitHub today

GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.

Sign up

JavaScript CSS HTML

Pull request Compare This branch is 6 commits ahead, 5 commits behind denghongcai:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time.

Permalink

Failed to load latest commit information.
bin init Dec 30, 2015
modules fix: receive socket disconnect Jul 28, 2016
public 修改BUG Feb 27, 2017
routes init Dec 30, 2015
.gitignore init Dec 30, 2015
Dockerfile Update Dockerfile Feb 20, 2017
LICENSE init Dec 30, 2015
README.md Update README.md Feb 20, 2017
app.js update Jan 4, 2016
config-default.json init Dec 30, 2015
package.json update README and package.json Jan 5, 2016

README.md

由于原作者并未将改源码部署到Docker.com上,我将源码forked出一份。部署到Docker.com。方便使用。

本人只修改了Dockerfile部分代码,方便部署。

forked from denghongcai/forsaken-mail!!!

A self-hosted disposable mail service

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 fire up Mailin (see next section) and use an smtp server tester 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!