iredmail安装资料整理

https://www.linuxprobe.com/centos-install-iredmail.html

https://blog.csdn.net/davidemiya/article/details/78249310


https://430060.com/ac/21


https://www.linuxprobe.com/centos-install-iredmail.html


https://blog.csdn.net/wyl9527/article/details/79462897


https://www.cnblogs.com/kerrycode/p/3595724.html


https://blog.csdn.net/daixinmei/article/details/62891662

 
1、yum install bzip2 net-tools bash-completion wget
2、hostnamectl set-hostname mail.99vps.com

  

3、/etc/selinux/config    
   SELINUX=disabled

  

https://bitbucket.org/zhb/iredmail/downloads/iRedMail-0.9.9.tar.bz2
systemctl enable postfix;systemctl start postfix
systemctl enable dovecot;systemctl start dovecot
systemctl enable dovecot;systemctl start dovecot
systemctl enable spamassassin;systemctl start spamassassin
systemctl enable uwsgi;systemctl start uwsgi
systemctl enable mysqld;systemctl start mysqld
systemctl enable postfix;systemctl start postfix

  

要打开的端口:https://docs.iredmail.org/network.ports.html
frps与frpc服务器都要开启80、443、25端口,
443端口切记开启,否则映射后无法打开站点

[web01]
type = http
local_ip = 127.0.0.1
local_port = 80
custom_domains = mail.99.com
use_encryption = true


[web02]
type = https
local_ip = 127.0.0.1
local_port = 443
custom_domains = mail.99.com
use_encryption = true

  

cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
备份原始的更新源
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
下载并设置更新源为aliyun
wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo
下载并设置EPEL源,此源中包含更多的软件
yum clean all
清理yum缓存
yum makecache
创建yum缓存
原文地址:https://www.cnblogs.com/shabake/p/10692987.html