临时邮箱源码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
malaohu a80cb6cdee chore: replace cdn.bootcss.com to lib.baomitu.com 3 months ago
bin init 3 years ago
modules fix: receive socket disconnect 2 years ago
public chore: replace cdn.bootcss.com to lib.baomitu.com 3 months ago
routes init 3 years ago
.gitignore init 3 years ago
Dockerfile chore: remove npm mirror 1 year ago
LICENSE init 3 years ago
README.md chore: add online demo link 1 year ago
app.js update 3 years ago
config-default.json init 3 years ago
package.json update README and package.json 3 years ago

README.md

Forsaken-Mail

A self-hosted disposable mail service.

Online Demo

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!