Underground Forum
- #1
RPM package install
A clean install for those who don't want to install extra packages. A server running CentOS 7 is suitable.Download the RPM package
PMTA 4.5r1:PMTA 5.0b1:
Content of this hidden block can only be seen by members of: Verified
Pmta install
Open the terminal and run those commands one by one:ulimit -H -n 10240
sed -i -e "s/^SELINUX=.*/SELINUX=permissive/" /etc/selinux/config
setenforce 0
yum install iptables-services
systemctl enable iptables
/sbin/iptables -P INPUT ACCEPT
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables -P OUTPUT ACCEPT
iptables -F
service iptables save
rpm -i PowerMTA-5.0b1.rpm
/etc/init.d/pmtahttp stop
/etc/init.d/pmta stop
Replace the files in the usr/sbin and etc/pmta folders with the ones in the Path folder:
Patch for PMTA 4.0r1:
Patch for PMTA 5.0b1:
Content of this hidden block can only be seen by members of: Verified
Download standard configs and place them in ect/pmta folder:
Put dkim.key in the ect/
Open the virtualhost.txt file:
Replace:
DOMAIN.COM - to your domain (10 times)
Replace:
000.00.000.000 - to your IP (1 time)
Replace:
XXXXX - to another password
Replace:
key1 - to any other selector (1 time)
Launch PMTA with commands in the terminal:
/etc/init.d/pmta start
/etc/init.d/pmtahttp start
In case of errors
If port 25 is blocked. You need to find out what kind of process interferes with the work:
sudo netstat -tunlp | grep 25
Example:
tcp6 0 0 :::2525 :::* LISTEN 14310/pmtad
Then kill the process that is preventing startup:
kill 14310
and reload PMTA again:
service pmta restart
Last edited: