• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question Plesk SSH Command

Anoop

Regular Pleskian
Server operating system version
CloudLinux 8
Plesk version and microupdate number
18.0.44
Code:
plesk bin mail -l | grep "Mail name" | grep "example.com" | awk '{print $3}' | while read a; do plesk bin mail --update $a -outgoing-messages-mbox-limit 0; done

after execution the above command whats the result of domain example.com
 
some one sends to me to block one accounts smtp services. i have some doubts on that command, that's why I added it here.
 
As far as I can tell the command sets the outgoing message limit for all mailboxes of the example.com domain to 0 (zero). So basically blocking the mailboxes from sending email.
 
Back
Top