cPanel & WHM Version 114 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Disable mail for cpanel user account

Josh Martin shared this idea 3 years ago
Open Discussion

As a host, I'd like a way to disable mail from being sent from the server account without having to suspend all mail from the entire cPanel account.

For example, let's say we have and the cpanel user is domainco. This account lives on the server If the site has wordpress or anything else that has a PHP mailer installed, that mail will come from the account Aside from delivery issues, envelope mismatches, etc., there doesn't seem to be any way to restrict this mailbox from sending mail other than disabling mail for the entire account via the WHMAPI1 suspend mail function. As I understand it, this would also stop mail from coming from "regular" email accounts. So if the user had mailboxes set up like, or even set one up to use on the website like, you'd have to also allow mail to come form in order to let those normal inboxes function.

It seems this should be a simple matter but after scouring forums and feature requests there doesn't seem to be any similar request to this. For both spam protection, deliverability, and resource management this would be extremely helpful to control whether a cPanel user account can or cannot send mail without affecting the SMTP functions of other inboxes in the same account.

Leave a Comment
Attach a file