部署
foliant
利用httpd做远程yum源的配置
利用yum做多个组件源
linux环境上传github代码
vncserver可视化
centos7可视化
metabase安装
linux图形化安装
vm使用桥接连接网络
ElasticSearch使用
nginx多级构建
docker多架构构建镜像
svn和gitlab-ce迁移
代理搭建
GNS3部署使用
sftp搭建
Jenkins部署
yum源配置
js学习
通过一个公网ip联通一个vpc下所有服务
frp远程搭建
html语法
win下本地非80端口dns域名解析配置
利用nginx实现html跨域请求第三方接口
搭建自己的邮箱系统
docker构建mrdoc
内网穿透-利用nps实现本地web服务在公网访问
ipsec
-
+
首页
搭建自己的邮箱系统
## 搭建自己的邮箱系统 - what: 搭建自己的邮箱系统 - where: centos7 - when: 2022.5.5 - who: jiaorongtao - why: 记录 - how: EwoMail ### 1.前提 ``` #开放 8000 8010 25端口 8000端口:即WebMail页面, 请在浏览器中输入 你云服务器的 公网IP:8000 即可, 如http://150.139.212.99:8000/ 8010端口:即邮件管理后台, 地址同上,将那个8000改成8010即可。 管理员默认账号:admin 默认密码:ewomail123 ``` ![](/media/202205/2022-05-05_212154_282787.png) ### 2.查看域名是否解析成功 ``` [root@JRT ~]# ping mail.jiaorongtao.top PING mail.jiaorongtao.top (150.139.212.99) 56(84) bytes of data. 64 bytes from 150.139.212.99 (150.139.212.99): icmp_seq=1 ttl=55 time=2.55 ms 64 bytes from 150.139.212.99 (150.139.212.99): icmp_seq=2 ttl=55 time=2.27 ms 64 bytes from 150.139.212.99 (150.139.212.99): icmp_seq=3 ttl=55 time=2.32 ms ``` ### 3.域名主机配置 ``` [root@f62d8dcaf08b /]# vim /etc/sysconfig/selinux bash: vim: command not found [root@f62d8dcaf08b /]# yum install vim -y [root@JRT ~]# cat /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of three values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Level Security protection. SELINUXTYPE=targeted [root@JRT install]# cat /etc/hosts ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 127.0.0.1 mail.jiaorongtao.top jiaorongtao.top smtp.jiaorongtao.top imap.jiaorongtao.top [root@JRT install]# [root@JRT ~]# ``` ### 4.安装邮箱系统 ``` [root@JRT ~]# git clone https://gitee.com/laowu5/EwoMail.git Cloning into 'EwoMail'... remote: Enumerating objects: 2584, done. remote: Total 2584 (delta 0), reused 0 (delta 0), pack-reused 2584 Receiving objects: 100% (2584/2584), 340.51 MiB | 54.84 MiB/s, done. Resolving deltas: 100% (765/765), done. [root@JRT ~]# ls EwoMail [root@JRT ~]# cd EwoMail/ ewomail-admin/ .git/ install/ LICENSE rainloop/ README.md [root@JRT ~]# cd EwoMail/install/ [root@JRT install]# ls config init.php soft start.sh [root@JRT install]# sh ./start.sh jiaorongtao.top Database test passed. bytecode.cvd updated (version: 333, sigs: 92, f-level: 63, builder: awillia2) Complete installation [root@JRT install]# ``` ### 5.管理员邮箱配置 ![](/media/202205/2022-05-05_214205_858184.png) ![](/media/202205/2022-05-05_214426_476703.png) ![](/media/202205/2022-05-05_214547_725710.png) ![](/media/202205/2022-05-05_214617_072690.png) ![](/media/202205/2022-05-05_214646_155692.png) ### 6.测试 **发邮件** ![](/media/202205/2022-05-05_215835_102867.png) ![](/media/202205/2022-05-05_220024_881434.png) **收邮件** ![](/media/202205/2022-05-05_220136_032632.png)
JRT
2022年5月5日 22:12
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码