• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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