cPanel

Disable Outgoing email of a cPanel Account

Disable outgoing email in cPanel
Disable outgoing email in cPanel

Disable Outgoing email of a cPanel Account

If you are using cPanel server, you can simply disable outgoing email of a cPanel account using WHM API Functions. In hosting servers, spamming is a common issue which leads the server’s IP address to be blacklisted in RBLs. This cPanel API functions will help to take the control of a spamming account in a matter of time.

This feature is available in WHM version 56. We need to use WHM API Functions to disable outgoing email. You can read about these API functions below:

Suspend outgoing email

This function sets Exim’s queue to suspend and force failure for email that a user sends to an external address.

whmapi1 suspend_outgoing_email user=cPanel_Username

Example:

whmapi1 suspend_outgoing_email user=grepitout

Unsuspend outgoing email

This function helps to unsuspend the email activity of a cPanel account.

whmapi1 unsuspend_outgoing_email user=cPanel_Username

Example:

whmapi1 unsuspend_outgoing_email user=grepitout

Hold outgoing email

This function sets Exim’s queue to hold email that a user sends to an external address.

whmapi1 hold_outgoing_email user=cPanel_Username

Example:

whmapi1 hold_outgoing_email user=grepitout

Release outgoing email

This function helps to release the email activity of a cPanel account whose email is held.

whmapi1 release_outgoing_email user=example

Example:

whmapi1 release_outgoing_email user=grepitout

That’s it!

Also Read:

If you like this post and wish to receive more articles from us, please like our FB page: GrepItOut

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com

Add Comment

Click here to post a comment

Topics