How To Install PowerMTA On Centos With IP Rotation

PowerMTA Mail Server With Mailwizz Complete Setup in One Vps | Build SMTP Mail Server With PowerMTA

PowerMTA, or Power Mail Transfer Agent, is a robust and flexible email delivery solution widely used by businesses for sending high volumes of emails efficiently. Installing PowerMTA on CentOS 7 provides a stable platform for managing email campaigns effectively. In this guide, we’ll walk through the step-by-step process of installing PowerMTA on CentOS 7.

Prerequisites:

Before proceeding with the installation, ensure you have the following:

  1. A CentOS 7 server with root access.
  2. Basic knowledge of the Linux command line.
  3. A valid PowerMTA license.

Step 1: Download PowerMTA

  1. Visit the official Port25 website to download the PowerMTA software package.
  2. Choose the appropriate version for CentOS 7 and download the package to your server.

Step 2: Install Required Dependencies

  1. Connect to your CentOS 7 server via SSH.
  2. Update the system packages:

 Vps Server

The second thing you will need is a VPS server. a public server to install & Setup SMTP.

In My Post i Am Using Digitalocean Vps Server.

Here is a list of some companies:

  1. Contabo.
  2. Digital Ocean.
  3. OVH.

Software Need

-Putty

PuTTY is a free and open-source terminal emulator, serial console and network file transfer application.

2. Install Process

:-First Create a Vps Server.

  1. Go to Digitalocean And Create A Droplet
digitalocean Droplet

2. Choose an image

powermta centos
How To Install Powermta On Centos 7 12

3.Choose a plan (i am using $10 machine)

digitalocean Choose a plan

Enter Your Root Password:-

root password centos
How To Install Powermta On Centos 7 13

4.Choose a hostname

In Hostname Put Your Domain Name. i am Using Server.icsindiahost.tk. server is sub domain. Server.yourdomain.com

digitalocean Choose a hostname

5.Now Click Create droplet. Few Minutes After You Receive a Email.

:-Install PowerMta Mail Server Using Putty

  1. First Open Putty Software And Put Your Server Ip Address.
putty

2. Now Login as Root User .

3. Vesta Control Panel Install:-

  1. # Connect to your server as root via SSHssh root@your.server
  2. # Download installation script curl -O http://vestacp.com/pub/vst-install.sh
  3. # Run it bash vst-install.sh
  4. The installation is complete
VESTA panel
How To Install Powermta On Centos 7 14

4 .Install PowerMTA:-

1.Upload the PMTA5.0r8 installation package Using Winscp Software.

powermta winscp
How To Install Powermta On Centos 7 15

2.Second, install the PMTA5.0 mail system

rpm -Uvh PowerMTA-5.0r8.rpm
install powermta
How To Install Powermta On Centos 7 16

PowerMTA Installed Successfully. Now You Need Configure Some File.

Then Copy your license file to /etc/pmta/ and you are done! 

3. Configure config file:-

Config file located in /etc/pmta/ directory  just open it so we edit and configure.

You will find a place where you can change the IP address And Also Find a Place Where You Can Change Your domain  Name.

powermta configDownload

Now restart PowerMTA service using the following command:

service pmta restart

Configuration Is Complete.

4. Send a Test Email:-

Hostname: Your Ip Server Ip Address/domain Name
Username: 
Your in config file
Password: 
Your password XXXXX from the section in config file
Port: 
25

Go to SMTPER.NET and enter your server details as follows:

SMTPER tester
How To Install Powermta On Centos 7 17

installation and configuration PowerMTA Completed.

Configure SPF, DKIM and DMARC:-

Dkim (DomainKeys Identified Mail) :

Run the following commands:

1: openssl genrsa -out dkim.private.key 1024
2: openssl rsa -in dkim.private.key -out dkim.public.key -pubout -outform PEM

Now Open Dkim.public.key File and copy dkim code.

Dkim Format

"v=DKIM1; k=rsa; p=Your Dkim Code"

Now Open your DNS zone in and add the following record

SPF (Sender Policy Framework):

To set up SPF. Open your DNS zone in and add the following record:

v=spf1 a ip4:XXX.XXX.XXX.XXX ~all

XXX.XXX.XXX.XXX = Replace with your server IP.

DMARC (Domain-based Message Authentication, Reporting & Conformance):

Open your DNS zone in and add the following record

v=DMARC1; p=none; fo=1; rua=mailto:dmarc@yourdomain.com; ruf=mailto:dmarc@yourdomain.com

By following this guide, you have successfully installed PowerMTA on CentOS 7, providing a reliable platform for managing email delivery at scale. Remember to configure and monitor PowerMTA regularly to ensure optimal performance and deliverability of your email campaigns.

Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply