Underground Forum
- #1
CLI commands for PMTA server
System
PowerMTA reboot
service pmta restart
Reloading the pmta config
pmta reload
Reload pmtahttp
pmtahttp restart
Launching PowerMTA
service pmta start
Search for possible errors
pmtad --debug
Reset statistics
pmta reset counters
Checking the status of PMTA
pmta show status
Queues
Stop the queue for a specific vmta
pmta pause queue domain.com/vmta
Pause all queues
pmta pause queue */*
Pause the queue for a specific domain
pmta pause queue domain.com/*
Pause all queues for all vmta
pmta pause queue */vmta
Resume queues from a specific vmta
pmta resume queue domain.com/vmta
Resuming all queues
pmta resume queue */*
Resume queues for a specific domain
pmta resume queue domain.com/*
Delete all queues for all vmta
pmta pause queue */vmta
Disable backoff mode for specific vmta
pmta set queue --mode=normal domain.com/vmta
Disable backoff mode for all domains and vmta
pmta set queue --mode=normal */*
Delete a queue for a specific recipient domain
pmta delete --queue=gmail.com/*
Deleting a queue for a specific vmta
pmta delete --queue=*/vmta
Deleting all queues
pmta delete --queue=*/*
Statistics
View all queues for a specific recipient domain (e.g. gmail.com)
pmta list --queue=gmail.com
Show all queues
pmta list --queue=*/*
Show statistics of 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
Showing high-volume distribution queues
pmta show topqueues
Show the status of all vmtas
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 PowerMTA version number
show version
Show PowerMTA registration status
pmta show registration
Displaying PowerMTA license information
pmta show license