当前位置:网站首页>[play with lighthouse] build a temporary mailbox system that can be collected and destroyed immediately
[play with lighthouse] build a temporary mailbox system that can be collected and destroyed immediately
2022-04-23 00:28:00 【CND】
Certain environments require the use of “ A temporary mailbox system that can be received or destroyed immediately ”, This article works with you to build a “ A temporary mailbox system that can be received or destroyed immediately ”. You can install and run the project by executing the script in turn . Every command has a description , You can choose to run by yourself , Please modify and run in different environments .
# install git
yum install git -y
# install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
# install nodejs and npm
nvm install 6.10.0
# see nodejs Is the version correct , Show 6.10.0
node -v
# Download project source
git clone https://github.com/malaohu/forsaken-mail.git
cd forsaken-mail
# Install the libraries required by the project
npm install
# install pm2 Tools
npm install -g pm2
# Ban postfix and sendmail
killall sendmail
/etc/init.d/postfix stop
chkconfig --level 2345 postfix off
chkconfig --level 2345 sendmail off
# CentOS7+
systemctl stop postfix
# Start project
pm2 start bin/www
# Set boot up
pm2 startup
pm2 save
Docker Deploy
The original author's source code has been written Dockerfile.
But the original author did not publish to docker.com.
I will the author's source code forked One copy , Revised some files . Has been successfully published to docker.com Easy to use !
Bloggers deploy Docker Mirror address : malaohu/forsaken-mail
Those free Docker Containers can be deployed ? What are the limitations ?
First, there are independent IP, Must support 25 port .
Of course Hyper_ It's OK, too .
Someone asked Hyper_ Credit card verification is required , What do I do ?
Blogger prompts , Universal Taobao , Go search !
Deployment requires only one line of code :
docker run --name forsaken-mail -d -p 25:25 -p 3000:3000 malaohu/forsaken-mail
The deployment is complete !
Then use it directly EndPoint Web address plus port 3000 You can visit !
Bind domain name
Resolve the domain name directly to the server IP, perhaps CNAME Just go to a website . Want to own your own domain name ?
Try your domain name CNAME To your domain name , Then use your domain name plus 3000 Port access, try it !
I was surprised to find , Instantly create your own domain name mailbox !
Reverse proxy
If you feel 3000 If the port is inconvenient, you can also do reverse proxy !
版权声明
本文为[CND]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204222149546309.html
边栏推荐
- NPM and NPX view dependent package versions
- Unittest unit test (6)
- Object size and pointer compression -- JVM
- Unittest单元测试(六)
- 从零开始学安卓(kotlin)八——线程、Service
- Configuration parameters of common product module models of Beifu
- (转)Win10上安装任意版本的.net framework
- (转)通过外网远程访问Window Remote Desktop 远程桌面 Win10
- Mitsubishi fx5u configures iebasic setting of mr-je-c servo driver
- 2022年4月22日,第15天
猜你喜欢

(转)使用dotTrace6.0进行性能,内存分析

MySQL -- data type

Progrès de la recherche sur la télédétection des paramètres phénologiques de la végétation

Beifu NC axis travel speed mode

网线IP配置

MySQL -- database foundation

Research progress of Lake remote sensing (Overview)

【图像分类】——来来来,干了这碗EfficientNet实战(Pytorch)

Solution for error reporting of biff el6631 and Siemens communication PROFINET

ArcGIS 城市生活区用地适宜性评价(五)
随机推荐
Research progress of Lake remote sensing (Overview)
植被物候參數遙感研究進展(好文分享)
ArcGIS 制作3D遥感影像图
According to this effective method, UI automation testing is so simple
(转)Aspose.words编程指南之DOM树结构初识,Node类继承关系及说明
TiDB 在连锁快餐企业丨海量交易与实时分析的应用探索
倍福常用产品模块型号配置参数
Progrès de la recherche sur la télédétection des paramètres phénologiques de la végétation
repeat_ String delete some characters
Beifu NC axis travel speed mode
(transfer) Aspose Working with document in words Programming Guide
Componentwillunmount uninstall components
ArcGIS 计算地块容积率
(turn) how is word2016 compatible with MathType
100000 developers swarmed into "cool applications" to bet on scenarios
倍福NC轴走速度模式
Node + mongoose paging effect
(转)通过RDP隧道绕过网络限制
Differences of lake water color, water environment and hydrological remote sensing
ArcGIS 城市生活区用地适宜性评价(三)