• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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