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

CLI commands for PMTA​



System​

Reload PMTA​

service pmta restart

Reload config​

pmta reload

Reload console​

pmtahttp restart

Start pmta​

service pmta start

Check status​

pmta show status

Look for errors (if pmta does not run enter this command and get an error that needs to be fixed)​

pmtad --debug

Reset statistics​

pmta reset counters

Show pmta status, connections and queues​

pmta show status

Message Queuing​

Put the selected queue:​

pmta pause queue domain.com/vmta

Put all queues​

pmta pause queue */*

Or to a specific recipient domain in all vmta​

pmta pause queue domain.com/*

Put all vmta​

pmta pause queue */vmta

Clear the selected queue:​

pmta resume queue domain.com/vmta

Clear all queues​

pmta resume queue */*

Or to a specific recipient domain in all vmta​

pmta resume queue domain.com/*

Remove all vmta​

pmta pause queue */vmta

Force queue if it is in retry standby mode​

pmta schedule --retry-recipients domain.com/vmta

Start all queues​

pmta schedule --retry-recipients */*

Clear backoff mode for queue​

pmta set queue --mode=normal domain.com/vmta

Or for all vmta and domains​

pmta set queue --mode=normal */*

Clear mailing queue​

For a specific recipient domain (for example gmail.com)​

pmta delete --queue=gmail.com/*

Delete all mails in PMTA​

pmta delete --queue=*/*

Delete in specific VMTA​

pmta delete --queue=*/vmta

For a specific recipient domain (for example gmail.com)​

pmta delete --queue=gmail.com/*

View statistics​

Show the mailing queue to domain addresses in the terminal gmail.com​

pmta list --queue=gmail.com

Show all mailing lists​

pmta list --queue=*/*

Show the mailing queue to domain addresses in the terminal gmail.com​

pmta list --queue=gmail.com

Display statistics for all queues​

pmta show queues

Show blocked ip addresses​

All ip​

pmta show disabled sources

To send to a specific domain​

pmta show disabled sources domain.com/*

In a specific vmta​

pmta show disabled sources */vmta

Show domains to which emails are sent​

pmta show domains

Reverse list sorting​

pmta show topdomains

All queues​

pmta show queue

Queues with a large mailing volume​

pmta show topqueues

Show status of virtual MTAs​

pmta show vmtas

Settings​

Show general sending settings *​

pmta show settings domain

Domain-specific settings, such as gmail.com in all vmta​

pmta show settings gmail.com/*

Other​

Show PMTA version​

show version

Show enrollment status in the Operations console PowerMTA​

pmta show registration

Show license information PowerMTA​

pmta show license
 
  • Like
Reactions: ebanodev

ecryptom0

Active member
May 3, 2022
424
128
43
bit.ly
Hello ,
first of all thank you for posting here.
i am new to powermta i would appreciate if you could advise me what’s
the best optimal configuration for performance / speed
the target is to send more but keep connection low not to be banned

thank you in advance here is my config:

max-smtp-out 20 # max. connections *per domain*
bounce-after 1m # 4 days, 12 hours
retry-after 10s # 10 minutes
max-msg-rate 100/h
max-msg-per-connection 20
max-errors-per-connection 10
smtp-greeting-timeout 5m # added in v3.2r17
mx-connection-attempts 30000 # added in v3.2r16
smtp-pattern-list backoff
backoff-to-normal-after 2h # added in v3.5
backoff-max-msg-rate 50/h # Use with PowerMTA 3.5
backoff-retry-after 90m
dkim-sign yes
ignore-8bitmime true
 

AnormaL

Active member
Dec 26, 2019
163
68
28
Hello ,
first of all thank you for posting here.
i am new to powermta i would appreciate if you could advise me what’s
the best optimal configuration for performance / speed
the target is to send more but keep connection low not to be banned

thank you in advance here is my config:

max-smtp-out 20 # max. connections *per domain*
bounce-after 1m # 4 days, 12 hours
retry-after 10s # 10 minutes
max-msg-rate 100/h
max-msg-per-connection 20
max-errors-per-connection 10
smtp-greeting-timeout 5m # added in v3.2r17
mx-connection-attempts 30000 # added in v3.2r16
smtp-pattern-list backoff
backoff-to-normal-after 2h # added in v3.5
backoff-max-msg-rate 50/h # Use with PowerMTA 3.5
backoff-retry-after 90m
dkim-sign yes
ignore-8bitmime true
You need to create rules for every domain (esp) , because every one of them have different policies. Example: domain google,com :
max-msg-rate 100/h
max-msg-per-connection 20
max-errors-per-connection 10

domain yahoo.com:
max-msg-rate 50/h
max-msg-per-connection 10
max-errors-per-connection 5

STart as low as possible and then after every warmup check the messagge queue to see who need to be lower or higher. Is not easy to get ip warmup if you push beyond limits because you can get blacklisted 100%.
 

ecryptom0

Active member
May 3, 2022
424
128
43
bit.ly
what about the general config is any optimization needed ?

<domain *>
max-smtp-out 20
bounce-after 1m
retry-after 10s
max-msg-rate 100/h
max-msg-per-connection 20
max-errors-per-connection 10
smtp-greeting-timeout 5m
mx-connection-attempts 30000
smtp-pattern-list backoff
backoff-to-normal-after 2h
backoff-max-msg-rate 50/h
backoff-retry-after 90m
dkim-sign yes
ignore-8bitmime true
</domain>
 

Zev

New member
Aug 10, 2022
3
0
1
Hi! I was doing the set up of PowerMTA but I had an error with the license. The serial has a number of uses, an expiration time or another kind of restriction? (tried with both versions that are here in the forum: v5.0r3 and v5.0r6)

powermtalicence.PNG unknown.png
 

AnormaL

Active member
Dec 26, 2019
163
68
28
Hi! I was doing the set up of PowerMTA but I had an error with the license. The serial has a number of uses, an expiration time or another kind of restriction? (tried with both versions that are here in the forum: v5.0r3 and v5.0r6)

powermtalicence.PNG unknown.png
try this: /usr/sbin/pmtad --debug
or this: pmtad --debug

then paste here
 

ecryptom0

Active member
May 3, 2022
424
128
43
bit.ly
i have bounce with this error:
5.4.4 (unable to route: no mail hosts for domain),unable to route: no mail hosts for domain,,routing-errors

any ideas ?
 

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