1 passwd
2 yum -y install vim
3 wget https://github.com/iredmail/iRedMail/archive/refs/tags/1.6.2.tar.gz
4 tar -zxvf 1.6.2.tar.gz
5 cd iRedMail-1.6.2/
6 ls
7 bash iRedMail.sh
8 systemctl status nginx
9 reboot
10 netstat -ano
11 netstat -ano | grep 25
12 tail -f /var/log/maillog
13 vim /etc/postfix/master.cf
14 reboot
15 systemctl status iredapd
16 yum -y install python
17 yum -y install python2
18 systemctl restart iredapd
19 systemctl status iredapd
按照官方文档装的,发送邮件时提示stmp错误Recipient address rejected: Server configuration problem
原因是应为iredapd没有启动,查看是报错了
python找不到web这个模块
安装一下就好了
pip3 install web.py>=0.51
pip2 install web.py>=0.51 more-itertools==5.0.0
发表评论