Super Simple ~ Deploy Your Own Temporary Email with Forsaken-Mail
Introduction:
Forsaken-Mail is an ultra-simple temporary email deployment tool. In my previous articles, I've introduced two methods. One is to use Cloudflare's email forwarding feature to forward emails to your own inbox, but it can only be sent to one email, and the functionality is limited. The other method uses the Hestia panel, which not only has an independent email but can also use this email to send messages.
However, some folks only want to use temporary email services and don't need to send emails, just receive them. Is there a simpler solution? Here it is! Today I'll introduce Forsaken-Mail's deployment plan, which is super simple. Just follow the steps.
Effect Picture:
Deployment Method One: Install Using Docker
Step One: Update the Sources and Install Dependencies
Ubuntu/Debian:
apt update -y && apt upgrade -y
sudo apt-get install git -y
Centos:
yum update -y && yum upgrade -y
sudo yum install git -y
Step Two: Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh
Step Three: Clone Repository
git clone https://github.com/denghongcai/forsaken-mail.git
cd forsaken-mail
Step Four: Build Docker Image
docker build -t denghongcai/forsaken-mail .
Step Five: Run Docker Container
docker run --name forsaken-mail -d -p 25:25 -p 3000:3000 denghongcai/forsaken-mail
After running, you can visit http://<your-ip>:3000
to access the temporary email.
Deployment Method Two: Install from Source Code
Step One: Update the Sources and Install Dependencies
Ubuntu/Debian:
apt update -y && apt upgrade -y
sudo apt-get install git -y
Centos:
yum update -y && yum upgrade -y
sudo yum install git -y
Step Two: Install Node.js and npm
sudo apt-get install nodejs npm
Verify the installation of Node.js and npm:
node -v
npm -v
Step Three: Clone Repository
git clone https://github.com/denghongcai/forsaken-mail.git
cd forsaken-mail
Step Four: Install Dependencies
npm install
Step Five: Start Forsaken-Mail
npm start
After running, you can visit http://<your-ip>:3000
to access the temporary email.
Original link:http://enblog.fuyiran.link/Technology/17.html
Copyright: All posts on this blog, unless otherwise stated, are published using theCC BY-NC-SA 4.0 license agreement. Please indicate the source for reprinting Fu Speaking (enblog.fuyiran.link)