有时候需要临时邮箱做一些事情是不是去注册很麻烦?现在就有一个即时的邮箱系统非常便捷的实现了该功能,免去了去注册邮箱的麻烦,下面请看介绍
- 邮箱系统即发即收
- 邮箱可随时更改,分为自动刷新和手动
- 关闭&刷新页面即焚毁收件内容
部署方法
#安装git
yum install git -y
#安装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"
#安装nodejs和 npm
nvm install 6.10.0
#查看nodejs版本是否正确,显示 6.10.0
node -v
#下载项目源码
git clone https://github.com/malaohu/forsaken-mail.git
cd forsaken-mail
#安装项目需要的库
npm install
#安装pm2工具
npm install -g pm2
#禁用postfix
postfix stop
chkconfig --level 2345 postfix off
#启动项目
pm2 start bin/www
#设置开机启动
pm2 startup
pm2 save
安装完成,默认访问为:IP地址+端口号:3000 例如:1.0.0.1:3000
项目地址:https://github.com/denghongcai/forsaken-mail
以下是安装实录:
以下是测试接收:
查看演示:http://tmail.date
不错呦
这个临时用还是挺方便的!