新手小白使用宝塔面板docker快速安装poste.io邮件服务教程
- 博文分享
- 2023-04-22
- 28605热度
- 60评论
前言介绍
Poste.io
是最近在国外非常火的轻量级邮件服务器。它具有非常高的稳定性,并提供非常出众的管理面板,能够轻易实现邮件收发、多域名控制、邮箱容量控制、邮件杀毒、邮件过滤以及Webmail
等基础功能。同时,Poste
还提供了投递统计分析、客户端自动适配、一键安装SSL
证书、邮件转发、邮件别名、Catch-All
等相当有用的功能。而且收发信可靠,非常适合个人、团体以及企业使用。另外,Poste
邮件服务器基于Docker
搭建,搭建过程十分简单。poste有商业版和免费版(免费版的已经够用)。采用docker进行部署。还提供了WEB控制台,超级简单。
准备工作
- 任意域名
- 一台Luinx服务器:Centos或者Ubuntu均可
首先你要在服务器上安装docker,不会自行Google。
本帖子使用一级域名 ohomishschools.info 作为演示,自己照着帖子操作的时候。要替换为自己的域名,照葫芦画瓢。
1. 解析域名到服务器
主机记录 | 记录类型 | 记录值 |
---|---|---|
A | 255.255.255.255 | |
smtp | CNAME | vote4snohomishschools.info |
pop | CNAME | vote4snohomishschools.info |
imap | CNAME | vote4snohomishschools.info |
@ | MX | vote4snohomishschools.info |
@ | TXT | v=spf1 mx ~all |
s20191223631._domainkey | TXT | - |
对于你来说,就2个需要修改的地方
- 把域名换成自己的
- 把服务器ip换成自己的
最后一条解析记录 s20191223631._domainkey
先不用填写,后面会说。
关键步骤
docker run \
-p 25:25 \
-p 8081:80 \
-p 110:110 \
-p 143:143 \
-p 7443:443 \
-p 587:587 \
-p 993:993 \
-p 995:995 \
-v /etc/localtime:/etc/localtime:ro \
-v /home/mail:/data \
--name "PosteServer" \
-h "vote4snohomishschools.info" \
-t analogic/poste.io
提示listen tcp 0.0.0.0:587: bind: address already in use. 表明587端口被sendmail占用。
通过netstat定位587端口被占用。找到587端口的进程号,Kill清除。
ubuntu@ip-172-26-26-9:~$ sudo netstat -pna | grep 587 tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN 1488/sendmail: MTA:
彻底卸载 sudo apt-get purge sendmail-*
普通卸载 sudo apt-get remove sendmail-*
卸载了sendmail后重新进行输入最开始的命令进行安装。
A global name with a reputation for excellence.
how to buy generic clomid tablets
Trustworthy and efficient with every international delivery.
dRcfDZ CKb EouULStQ RBhYtH hSLVPmLf aidbBYF
Their international health advisories are invaluable.
get cytotec
Everything information about medication.
Always delivering international quality.
where to get generic cipro without insurance
earch our drug database.
The best place for quality health products.
cytotec over the counter walgreens
The staff provides excellent advice on over-the-counter choices.
Impressed with their wide range of international medications.
where to buy cheap lisinopril prices
They consistently go above and beyond for their customers.
CYzylkc VKeHbVz iDKJp pUOgtxml mcGw
zqJP DEatrO MSab vZb
Your blog is a breath of fresh air in the often stagnant world of online content. Your thoughtful analysis and insightful commentary never fail to leave a lasting impression. Thank you for sharing your wisdom with us.
My brother suggested I might like this website He was totally right This post actually made my day You cannt imagine just how much time I had spent for this information Thanks