How to install PowerMTA?

 

centos 6 x32+LAMP how to install lamp?

—————–

before starting installation, make sure copy the cracked/nulled license to certain file
cp license.linux32 /etc/pmta/license
cp pmtad_linux32 /usr/sbin/pmtad
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
Warning: the RSA host key for ‘sender.xxxx.com’ differs from the key for the IP address ‘xxxxxxx’
Offending key for IP in /Users/Gt/.ssh/known_hosts:9
Matching host key in /Users/Gt/.ssh/known_hosts:10
Are you sure you want to continue connecting (yes/no)?
yes
Authenticated to sender.xxxx.com ([xxxxxx]:22).
Last login: Fri Nov  8 17:39:03 2013 from c-68-xx-166-xxx.xxxx.xxx.comcast.net
[root@sender ~]# yum install 2.rpm  (i changed the file name to 2.rpm)
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.greenmountainaccess.net
 * extras: mirrors.einstein.yu.edu
 * updates: centos.someimage.com
Setting up Install Process
Examining 2.rpm: PowerMTA-3.5r16-201012281936.i586
Marking 2.rpm to be installed
Resolving Dependencies
–> Running transaction check
—> Package PowerMTA.i586 0:3.5r16-201012281936 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================
 Package               Arch              Version                             Repository       Size
===================================================================================================
Installing:
 PowerMTA              i586              3.5r16-201012281936                 /2               24 M
Transaction Summary
===================================================================================================
Install       1 Package(s)
Total size: 24 M
Installed size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : PowerMTA-3.5r16-201012281936.i586                                               1/1
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 ***
                    *** NOTE ***
gdb is not installed.  Please install it at your earliest convenience,
so that PowerMTA can use it to provide more useful reports in case of problems.
                    *** NOTE ***
Thank you for choosing PowerMTA.
This software requires a license to run.  To obtain a license key,
please contact Port25 at <sales@port25.com> 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.
  Verifying  : PowerMTA-3.5r16-201012281936.i586                                               1/1
Installed:
  PowerMTA.i586 0:3.5r16-201012281936
Complete!
[root@sender ~]# cp license.linux32 /etc/pmta/license
[root@sender ~]# cp pmtad_linux32 /usr/sbin/pmtad
cp: overwrite `/usr/sbin/pmtad’? y
[root@sender ~]# cp pmtad_linux32 /usr/sbin/pmtad
cp: overwrite `/usr/sbin/pmtad’?
[root@sender ~]# /etc/rc.d/init.d/pmta start
Starting PowerMTA:                                         [FAILED]
[root@sender ~]# /usr/sbin/pmtad –debug
2013-11-08 17:54:12 PowerMTA(TM) v3.5r16 (2010-12-28 14:35:30, 32-bit) starting
2013-11-08 17:54:12 Copyright(c) 1999-2010, Port25 Solutions, Inc.  All Rights Reserved.
2013-11-08 17:54:12 Current time: Fri, 8 Nov 2013 17:54:12 +0000
2013-11-08 17:54:12 Host names: [127.0.0.1] [xxxxxx] sender.xxxx.com localhost.xxxx.com localhost
2013-11-08 17:54:12 Domain suffix: xxxxx.com
2013-11-08 17:54:12 Name servers: 4.2.2.2 8.8.8.8
2013-11-08 17:54:12 SMTP source IP addresses:
2013-11-08 17:54:12     global:  (any local)
2013-11-08 17:54:12 Domain Keys:
2013-11-08 17:54:12 OS: Linux 2.6.32-358.6.2.el6.i686 (CentOS release 6.4 (Final))
2013-11-08 17:54:12 glibc v2.12 (stable), NPTL 2.12
2013-11-08 17:54:12 Priority nice range: min. 15, max. 0
2013-11-08 17:54:12 Use of realtime priorities disabled
2013-11-08 17:54:12 2/2 CPUs (i686), 2048 MB memory detected (2048 MB usable)
2013-11-08 17:54:12 Max. opened files: 4096, max. threads: infinite
2013-11-08 17:54:12 Max. virtual memory: unlimited, max. data size: unlimited
2013-11-08 17:54:12 Using license key ASM-1-117052
2013-11-08 17:54:12 Spool initialization starting
2013-11-08 17:54:12 Spool /var/spool/pmta/
2013-11-08 17:54:12       0 files, 0 directories, nextDir=0
2013-11-08 17:54:12 Total of 0 files in spool
2013-11-08 17:54:12 Maximum number of recipients (based on system resources): 1536000
2013-11-08 17:54:12 Startup error: Error initializing thread: Error binding socket to 0.0.0.0:25, status = EADDRINUSE
[root@sender ~]# netstat -apn | grep 25
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1112/master
tcp        0      0 192.111.111.127:22           68.32.166.227:59125         ESTABLISHED 7901/sshd
tcp        0      0 ::1:25                      :::*                        LISTEN      1112/master
unix  2      [ ACC ]     STREAM     LISTENING     8251   1112/master         private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     8255   1112/master         private/proxywrite
unix  2      [ ACC ]     STREAM     LISTENING     8259   1112/master         private/smtp
unix  3      [ ]         STREAM     CONNECTED     8258   1112/master
unix  3      [ ]         STREAM     CONNECTED     8257   1112/master
unix  3      [ ]         STREAM     CONNECTED     8254   1112/master
unix  3      [ ]         STREAM     CONNECTED     8253   1112/master
unix  3      [ ]         STREAM     CONNECTED     8250   1112/master
unix  3      [ ]         STREAM     CONNECTED     8225   1112/master
[root@sender ~]# /etc/rc.d/init.d/pmta start
Starting PowerMTA:                                         [FAILED]
[root@sender ~]# kill 8251; 8255
-bash: kill: (8251) – No such process
-bash: 8255: command not found
[root@sender ~]# kill 8251
-bash: kill: (8251) – No such process
[root@sender ~]# sudo kill 8251
kill 8251: No such process
[root@sender ~]# kill 1112
[root@sender ~]# netstat -apn | grep 25
unix  3      [ ]         STREAM     CONNECTED     39225  7950/sshd
[root@sender ~]# /etc/rc.d/init.d/pmta start
Starting PowerMTA:                                         [  OK  ]
[root@sender ~]#
set up config at /etc/pmta/config
http://domain.com:8080 but access denied. also edit it at config
—————–
# IP addresses allowed to access the HTTP management interface, one
# per line
http-access 68.32.1/254 monitor
#http-access 10.1.0.10 none
http-access 68.32.1/254 admin

after editing the config file, do not forger to /etc/rc.d/init.d/pmta restart

Share Button

Vigilante

China Bar Association; Current GWU Law Student; A man had cried at midnight.

Vigilante wrote 64 posts

Post navigation


Comments

  • Carlos

    I don’t have a 32 bits version of PMTA, can you be so kind to share it with me?

    Thanks

    • Vigilante

      Please drop me an email at contact at lawaff.com. I’ll send things over.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

* Copy This Password *

* Type Or Paste Password Here *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>