• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

使用Docker快速安装Poste.io邮件服务器

主机教程 Liam 1年前 (2019-04-28) 508次浏览 10个评论 扫描二维码
文章目录[隐藏]

简介

Poste.io是最近在国外非常火的轻量级邮件服务器。它具有非常高的稳定性,并提供非常出众的管理面板,能够轻易实现邮件收发、多域名控制、邮箱容量控制、邮件杀毒、邮件过滤以及Webmail等基础功能。同时,Poste还提供了投递统计分析、客户端自动适配、一键安装SSL证书、邮件转发、邮件别名、Catch-All等相当有用的功能。而且收发信可靠,非常适合个人、团体以及企业使用。另外,Poste邮件服务器基于Docker搭建,搭建过程十分简单。

官网:https://poste.io/

截图

使用Docker快速安装Poste.io邮件服务器 - Rat's Blog
使用Docker快速安装Poste.io邮件服务器 - Rat's Blog
使用Docker快速安装Poste.io邮件服务器 - Rat's Blog

说明

首先我们介绍一下服务器的运行环境。由于基于Docker,因此大部分Linux发行版均可以运行Poste。运行的Poste占用内存在800 MB左右,因此建议选择一个内存1 GB或者以上的VPS进行搭建。Poste仅支持64位操作系统。

在安装任何邮件服务器之前,我们需要配置好hostname。本文我们以mx.qing.su为例,当您在SSH中执行hostname命令时,应当看到mx的回显;当您在SSH中执行hostname -f命令时,应当看到mx.qing.su的回显。若您未配置好hostname,请不要继续。

开始安装之前,建议您先设置好一部分DNS。我们需要设置这样的几条记录 (请用您自己的域名替代下文中的qing.su):

qing.su A Any_IP mx.qing.su A 88.88.88.88 qing.su MX mx.qing.su. 10 mail.qing.su CNAME mx.qing.su. smtp.qing.su CNAME mx.qing.su. imap.qing.su CNAME mx.qing.su. qing.su TXT “v=spf1 mx ~all” _dmarc.qing.su TXT “v=DMARC1; p=none; rua=mailto:[email protected]” 88.88.88.88 PTR mx.qing.su 

其中4568项为可选,第九项为域名PTR也就是设置rDNS,需要您在自己的服务器提供商处设定,比如Vultr在后台就可以直接设置rDNS

安装

1、安装Docker

#CentOS 6 rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum update -y yum -y install docker-io service docker start chkconfig docker on  #CentOS 7、Debian、Ubuntu curl -sSL https://get.docker.com/ | sh systemctl start docker systemctl enable docker.service 

2、安装Poste

#/srv/poste/data为Poste数据存放文件夹,如用户数据库、电子邮件、日志,方便备份。 docker run -d -p 25:25 -p 80:80 -p 110:110 -p 143:143 -p 443:443 -p 587:587 -p 993:993 -p 995:995 -v /etc/localtime:/etc/localtime:ro -v /srv/poste/data:/data --name "PosteServ" -h "mx.qing.su" -t analogic/poste.io 

安装完成后,打开你的域名地址,进行安装配置。
使用Docker快速安装Poste.io邮件服务器 - Rat's Blog
刚开始打开会显示不安全,然后点击左侧System settingsTLS certificate,申请免费的SSL证书即可。
使用Docker快速安装Poste.io邮件服务器 - Rat's Blog
还有更多功能就自己慢慢折腾吧。

文章参考:部署Poste邮件服务器


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:使用Docker快速安装Poste.io邮件服务器
喜欢 (0)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(10)个小伙伴在吐槽
  1. Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! However, how can we communicate?
    best website hosting2020-08-31 23:28 回复 Linux | Chrome 66.0.3359.170
  2. Excellent post. I was checking constantly this blog and I am impressed! Extremely useful info particularly the last part :) I care for such information much. I was looking for this certain information for a very long time. Thank you and good luck.
    black mass2020-08-31 06:16 回复 Linux | Firefox浏览器 54.0
  3. I am extremely impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you modify it yourself? Anyway keep up the excellent quality writing, it is rare to see a great blog like this one these days.
    cheap flights2020-08-28 04:03 回复 Linux | Firefox浏览器 52.9
  4. I have read so many articles regarding the blogger lovers however this piece of writing is truly a nice article, keep it up. 34pIoq5 cheap flights
    cheap flights2020-08-26 21:26 回复 Mac OS X | Firefox浏览器 56.0.4
  5. It's awesome in support of me to have a site, which is beneficial in favor of my experience. thanks admin y2yxvvfw cheap flights
    cheap flights2020-08-25 18:34 回复 Linux | Chrome 65.0.3325.181
  6. Incredible quest there. What occurred after? Take care!
    web hosting services2020-08-25 18:05 回复 Linux | Chrome 61.0.3116.0
  7. I was suggested this web site by my cousin. I'm not sure whether this post is written by him as nobody else know such detailed about my problem. You are wonderful! Thanks! 3gqLYTc cheap flights
    cheap flights2020-08-25 08:28 回复 Linux | Chrome 67.0.3372.0
  8. Informative article, just what I needed.
    website hosting2020-08-14 06:19 回复 Linux | Chrome 68.0.3398.0
  9. great put up, very informative. I'm wondering why the other specialists of this sector do not notice this. You must continue your writing. I'm confident, you have a huge readers' base already! adreamoftrains web hosting providers
    adreamoftrains web hosting service2020-08-12 11:26 回复 Windows 7 | Internet Explorer 9.0
  10. It is perfect time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or suggestions. Maybe you can write next articles referring to this article. I want to read even more things about it!
    web hosting reviews2020-08-10 16:28 回复 未知操作系统 | Chrome 43.0.2357.125