PowerMTA - Delivery of large volumes of email

PowerMTA - Delivery of large volumes of email v5.0r3

No permission to download

ecryptom0

Active member
May 3, 2022
424
128
43
bit.ly

Powermta 5x.x.x Changelog (not 4x, not 3x)

The latest I have data is: 2022-10-01: released build 5.5r2
If you have it share it.


This Covers All Pmta 5 from 5.0r1 to 5.5r2
 

Attachments

  • PMTA 5x - Versions Changelog.txt
    16.9 KB · Views: 24
Last edited:

ecryptom0

Active member
May 3, 2022
424
128
43
bit.ly

PMTA console commands​

Interaction with PMTA is mainly carried out by console commands from the terminal, but in some cases also through the web monitor.

System

Restart pmta
service pmta restart

Reload pmta configuration
pmta reload

Restart console
pmtahttp restart

Run pmta
service pmta start

View status
pmta show status

Check for errors (if pmta does not start, enter this command and get an error that needs to be fixed)
pmtad --debug

Reset statistics data
pmta reset counters

Show status of pmta, connections and queues
pmta show status

message queue

Enqueue the selected queue : Enqueue
pmta pause queue domain.ru/vmta

all queues
pmta pause queue */*

Or on a specific recipient domain in all vmta Enqueue
pmta pause queue domain.ru/*

all vmta
pmta pause queue */vmta

Remove the selected queue:
pmta resume queue domain.ru/vmta

Remove all queues
pmta resume queue */*

Or on a specific recipient domain in all vmta Deactivate
pmta resume queue domain.ru/*

the entire vmta Force the
pmta pause queue */vmta

queue if it is in retry pending mode
pmta schedule --retry-recipients domain.ru/vmta

Start all queues
pmta schedule --retry-recipients */*

Deactivate mode backoff for queue
pmta set queue --mode=normal domain.ru/vmta

Or for all vmta and domains
pmta set queue --mode=normal */*

Clear the broadcast

For a specific recipient domain (for example, mail.ru) Delete all messages in PMTA Delete in a specific VMTA For a specific recipient domain (for example, mail.ru)
pmta delete --queue=mail.ru/*
pmta delete --queue=*/*
pmta delete --queue=*/vmta
pmta delete --queue=mail.ru/*

View statistics

Show in the terminal the mailing queue to mail.ru domain addresses
pmta list --queue=mail.ru

Show all mailing queues Show the mailing queue to mail.ru
pmta list --queue=*/*

domain addresses in the terminal
pmta list --queue=mail.ru

Display statistics on all queues
pmta show queues


Show blocked ip addresses

All ips
pmta show disabled sources */*

To send to a specific domain
pmta show disabled sources domain.ru/*

In a specific vmta
pmta show disabled sources */vmta

Show domains to which emails are sent
pmta show domains

Reverse sorting of the list
pmta show topdomains

All queues
pmta show queue

High volume queues
pmta show topqueues

Show status of virtual MTAs
pmta show vmtas


Settings

Show general send settings *
pmta show settings domain

Settings for a specific domain, for example mail.ru in all vmta
pmta show settings mail.ru/*


Other

Show PMTA version
show version

Show enrollment status in PowerMTA management console
pmta show registration

Show PowerMTA license information
pmta show license


Tests

We check the connection of domain1.com with ip 0.0.0.0 to domain2.com
pmta resolve --connect --source=domain1.com,0.0.0.0 domain2.com

Let's check DNS routing to the server and check its availability (for example mail.ru)
pmta resolve --connect mail.ru

Now let's make sure the mail server is ready to accept our letter.
Transmission trace (for example, on mail.ru)
pmta trace mail.ru
 

ecryptom0

Active member
May 3, 2022
424
128
43
bit.ly
Manual PMTA configuration
What is a PMTA configuration file?

This is a file located in the etc/pmta/ folder on the server with pmta installed, which is responsible for the rules for sending mail from a particular domain/ip address.

In short, how the mailing to a particular mail service will take place will depend on this particular file.

Two files are responsible for the configuration of your server, config and virtualhost.txt

After each editing of these files, you must restart the config with the command: The config pmta reload

file contains all static information, and the virtualhost.txt file contains dynamic information (your domains and ip addresses). But in fact it is the same file.

The line include /etc/pmta/virtualhost.txt connects virtualhost .

...

This is an example
 

Attachments

  • Manual PMTA Configuration.zip
    19.1 KB · Views: 47

Sindibadx2

New member
Nov 6, 2022
10
1
3
I have a question and I hope there is an expert to answer.
My question regarding the sending domains

Let's say that I have domain X1.COM , X2.COM and X3.COM
<virtual-mta pmta-vmta1> smtp-source-host XXX.XXX.XXX.XXX server.B1.com
#domain-key dkim,b1.com,/home/admin/conf/mail/B1.com/dkim.pem
#domain-key default,*,/var/cpanel/domain_keys/private/example.com
<domain *>
max-msg-rate 400/h
</domain>
</virtual-mta>


The hostname here is : SERVER.B1.COM


is it possible to add the sending domain with DKIM X1.COM, X2.COM and X3.COM in the code above.

<virtual-mta pmta-vmta1> smtp-source-host XXX.XXX.XXX.XXX server.B1.com
domain-key dkim,b1.com,/home/admin/conf/mail/B1.com/dkim.pem
domain-key dkim,X1.com,/root/X1.com/dkim.pem
domain-key dkim,x2.com,/root/X2.com/dkim.pem
#domain-key default,*,/var/cpanel/domain_keys/private/example.com
<domain *>
max-msg-rate 400/h
</domain>
</virtual-mta>

Is this something that can work ?
Please I need your help, I need to use multiple domains with DKIM signature and consider please that I have another server with second IP:

<virtual-mta pmta-vmta1> smtp-source-host XXX.XXX.XXX.XXX server.C2.com
 

ecryptom0

Active member
May 3, 2022
424
128
43
bit.ly
smtp-source-host XXX.XXX.XXX.XXX server.B1.com
domain-key dkim,b1.com,/home/admin/conf/mail/B1.com/dkim.pem
domain-key dkim,X1.com,/root/X1.com/dkim.pem
domain-key dkim,x2.com,/root/X2.com/dkim.pem

<virtual-mta pmta-vmta1>
<domain *>
max-msg-rate 400/h
dkim-sign yes
</domain>

<domain B1.com>
max-msg-rate 100/h
</domain>

<domain X1.com>
max-msg-rate 1500/h
</domain>

<domain X2.com>
max-msg-rate 4000/h
</domain>
</virtual-mta>

tip: try your setup if don't work try this one also. Share your results if possible.
 

Sindibadx2

New member
Nov 6, 2022
10
1
3
smtp-source-host XXX.XXX.XXX.XXX server.B1.com
domain-key dkim,b1.com,/home/admin/conf/mail/B1.com/dkim.pem
domain-key dkim,X1.com,/root/X1.com/dkim.pem
domain-key dkim,x2.com,/root/X2.com/dkim.pem

<virtual-mta pmta-vmta1>
<domain *>
max-msg-rate 400/h
dkim-sign yes
</domain>

<domain B1.com>
max-msg-rate 100/h
</domain>

<domain X1.com>
max-msg-rate 1500/h
</domain>

<domain X2.com>
max-msg-rate 4000/h
</domain>
</virtual-mta>

tip: try your setup if don't work try this one also. Share your results if possible.
Thank you will test soon
 
  • Like
Reactions: ecryptom0

Agora

New member
Nov 13, 2023
4
0
1
The author of the guide https://powermta.ninja/guide/ asserts that their email marketing system is superior. The setup involves a primary server hosting Mumara and PowerMTA management console on the CWP control panel. In addition, there are several smaller MTA servers with PowerMTA on the VESTA CP control panel.

According to the author, this configuration is touted as the best due to their 15 years of experience in email marketing. They argue that this system excels because, if one MTA encounters issues or goes offline, it can be swiftly replaced. This supposedly ensures the continued functionality of the remaining email marketing infrastructure, providing a robust and reliable setup.

The guide is quite old so I wanted to ask the forum community if this setup is still legit. He uses powermta management console to connect all his MTA servers to it, is that something we still do with the newer version of powermta ?

Thank you
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu