官网介绍地址:
https://www.sparkpost.com/powermta/
安装条件:
云服务器
CentOS或者RedHat Linux系统
安装教程:
第一步:安装iptables-services服务,如果没有安装后续会出错。
systemctl stop firewalld 关闭防火墙
yum install iptables-services 安装或更新服务
再使用systemctl enable iptables 启动iptables
最后 systemctl start iptables 打开iptables
第二步:以root管理员登录,将服务器上的PowerMTA-5.0b1.rpm文件保存到root主目录即/root文件夹。
第三步:执行shell脚本add_iptable.sh
第四步:将/usr/sbin文件夹中的“pmtad”和“pmtahtpd”文件替换为patch/usr/sbin文件夹中同名文件。
第五步:将patch/etc/license文件上传到服务器的/etc/pmta目录下面。
第六步:根据您的IP和域名创建一个PMTA配置文件(如何配置可以参考用户手册,或者后续通过Web界面设置)。
第七步:创建文件dkim.key(是一个DKIM私钥),并将它上传到服务器上的/etc文件夹。
第八步:终端启动PMTA。
/etc/init.d/pmta start
/etc/init.d/pmtahttp start
第九步:编辑/etc/pmta/config配置文件,设置http-access指令,具体可以参考pdf用户手册。
第十步:在浏览器输入http://xxx.xxx.xxx.xxx:8080/登录到web管理界面,在这里可以进行配置和监控,xxx是ip地址,8080是端口号,这些都在第九步中设置的。
转载自:https://themege.net/1779.html