• 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 Restricted SMTP Usage

Anoop

Regular Pleskian
1. How to suspend smtp services for selected users. Or i need to suspend all users smtp clients and need to enable only selected users for smtp services.
 
could you please a little bit explain your case?

you have some domain hosted at Plesk and this domain has enabled mail service and there are some mailboxes that are created at this domain.
And you need to disable an ability to send email from all those mailboxes except some of them (inside this domain).

if yes - unfortunately there's no such functionality in Plesk.
 
You can set to 0 the limit of outgoing emails for the mailbox
 

Attachments

  • Immagine 2022-01-23 122444.jpg
    Immagine 2022-01-23 122444.jpg
    14 KB · Views: 2
Did you see the link that I send you? mail: Mail Accounts
Here you can see al the possibilities

If there's no way with plesk you can use while:
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
Just change "example.com" with your domain name

This will find all email accounts of a domain and for each one will put the outgoing limit to zero
 
Back
Top