• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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