CLI commands for work with PMTA



System


Reload PowerMTA

service pmta restart

Reset pmta config

pmta reload

Reload pmtahttp

pmtahttp restart

Start PowerMTA

service pmta start

Search for errors

pmtad --debug

Reset statistics

pmta reset counters

Check status

pmta show status


Queues


Stop the queue for a specific vmta

pmta pause queue domain.com/vmta

Pause all queues

pmta pause queue */*

Stop the queue for a specific domain

pmta pause queue domain.com/*

Stop the queue for all vmta

pmta pause queue */vmta

Resume mailing from a specific vmta

pmta resume queue domain.com/vmta

Resume all mailing queues

pmta resume queue */*

Resume mailing from a specific domain

pmta resume queue domain.com/*

Delete all mailing queues for all vmta

pmta pause queue */vmta

Turn off backoff mode from a specific vmta

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

Turn off backoff mode for all domains and vmta

pmta set queue --mode=normal */*

Delete the mailing queue for a specific recipient domain

pmta delete --queue=gmail.com/*

Delete the mailing queue for a specific vmta

pmta delete --queue=*/vmta

Delete all queues

pmta delete --queue=*/*


Statistics


View all the distribution queues for a specific recipient domain (e.g. gmail.com)

pmta list --queue=gmail.com

Show all queues

pmta list --queue=*/*

Show statistics for all queues

pmta show queues

Show all blocked ip addresses

pmta show disabled sources

Show blocked ip for a specific domain

pmta show disabled sources domain.com/*

Show blocked ip for a specific vmta

pmta show disabled sources */vmta

Show all recipient domains

pmta show domains

pmta show topdomains

Show queues with high volume

pmta show topqueues

Show the status of all vmta

pmta show vmtas


Domain settings


Show basic settings for domains

pmta show settings domain

Show settings for a specific domain, for example (gmail.com)

pmta show settings gmail.com/*


Other


Show version number

show version

Show registration status

pmta show registration

Show license information

pmta show license


© pmta5.ru 2023