新手小白使用宝塔面板docker快速安装poste.io邮件服务教程
- 博文分享
- 2023-04-22
- 13451热度
- 52评论
前言介绍
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后重新进行输入最开始的命令进行安装。
Why Choose FlashUpload.cloud?
Your blog is a true gem in the world of online content. I’m continually impressed by the depth of your research and the clarity of your writing. Thank you for sharing your wisdom with us.
I do believe all the ideas youve presented for your post They are really convincing and will certainly work Nonetheless the posts are too short for novices May just you please lengthen them a little from subsequent time Thanks for the post
Your blog is a testament to your expertise and dedication to your craft. I’m constantly impressed by the depth of your knowledge and the clarity of your explanations. Keep up the amazing work!
Hello my loved one I want to say that this post is amazing great written and include almost all significant infos I would like to look extra posts like this
Your writing is like a breath of fresh air in the often stale world of online content. Your unique perspective and engaging style set you apart from the crowd. Thank you for sharing your talents with us.
I have read some excellent stuff here Definitely value bookmarking for revisiting I wonder how much effort you put to make the sort of excellent informative website
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.
I loved as much as you will receive carried out right here The sketch is attractive your authored material stylish nonetheless you command get got an impatience over that you wish be delivering the following unwell unquestionably come more formerly again since exactly the same nearly a lot often inside case you shield this hike
имитированная икра: изо каких
материалов ее создают, польза и ущерб.
Равно как различить натуральную икру ото искусственной