临时邮箱

Hongcai Deng f36682ae6b make shortid stores in localStorage 9 years ago
bin 77eeab9024 init 9 years ago
modules f36682ae6b make shortid stores in localStorage 9 years ago
public f36682ae6b make shortid stores in localStorage 9 years ago
routes 77eeab9024 init 9 years ago
.gitignore 77eeab9024 init 9 years ago
Dockerfile abc3865083 fix Dockerfile to expose 3000 9 years ago
LICENSE 77eeab9024 init 9 years ago
README.md abc3865083 fix Dockerfile to expose 3000 9 years ago
app.js 091912db3f update 9 years ago
config-default.json 77eeab9024 init 9 years ago
package.json 84272b7b39 add Dockerfile 9 years ago

README.md

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