• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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