PowerMTA package includes the following files:
PowerMTA-3.5r16-201012281936.i586.rpm
PowerMTA-3.5r16-201012281926.x86_64.rpm
powermta_3.5r16-201012281937_i386.deb
pmtad_linux64
pmtad_linux32
license.linux64
license.linux32
Installation Instruction
1. Add user group
groupadd pmta
2. Install PowerMTA on 64-bit Linux server
rpm -Uvh PowerMTA-3.5r16-201012281926.x86_64.rpm
It display the following message:
PowerMTA has been installed. Please review the configuration
(in /etc/pmta/config) to ensure it fits your needs.
The PowerMTA User's Guide is available on file:/usr/share/doc/pmta/UsersGuide.pdf.
*** WARNING ***
The SMTP TCP port is already in use by other software on this
system. Installation will continue, but in order to be able to
start up PowerMTA you will need to stop the other software
or reconfigure PowerMTA to use an alternative port. See the
manual section about startup problems for more information.
*** WARNING ***
Thank you for choosing PowerMTA.
This software requires a license to run. To obtain a license key,
please contact Port25 at or call +1.410.750.7687
during office hours, U.S. Eastern Time.
If you already received a license key from Port25, please save it
as /etc/pmta/license before starting PowerMTA.
which means the installation is successful.
3. Copy license file and daemon file pmtad
cp license.linux64 /etc/pmta/license
cp pmtad_linux64 /usr/sbin/pmtad
4. Start pmta service
/etc/rc.d/init.d/pmta start
or
service pmta start
Stop pmta service
/etc/rc.d/init.d/pmta stop
or
service pmta stop
If the service fails to start, use parameter –debug to check.
/usr/sbin/pmtad –debug
5. Modify pmta config to allow access config file via browser.
vi /etc/pmta/config
Find http-access and add:
http-access 21.34.56.78 admin
21.34.56.78 is your own IP address.
Restart pmta service
service pmta start
Now you can access config file via:http://mpta.mydomain.com:8080/editConfig
Note: You don't need to restart pmta after updating the config file in browser.
6. PowerMTA log file is /var/log/pmta/log
If you have any problem during the installation, please check the log file.
7. Maximum open file descriptors
Linux default open file limit is 1024. You need to increase this value for PMTA.
check current connections:
ulimit -n
To increase the limit, open file:
vi /etc/security/limits.conf
add the following lines at the end:
* soft nofile 65535
* hard nofile 65535
This post partially translated from PowerMTA安装教程完整版