cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463

clubehost

Member
Aug 2, 2016
14
0
1
brazil
cPanel Access Level
Root Administrator
I want disable all emails in and out for a acc. it sender span for main login USER_CPANEL no have any email acc in cpanelll and custumer no use emails

How I make global filter?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
I want disable all emails in and out for a acc. it sender span for main login USER_CPANEL no have any email acc in cpanelll and custumer no use emails
You'd need to use this WHM API 1 function to suspend outgoing email:

WHM API 1 Functions - suspend_outgoing_email - Software Development Kit - cPanel Documentation

Review the "Command Line" section under the examples on this document for information on the specific command you'd need to use. For incoming email, please see the same "Command Line" example on this document:

UAPI Functions - Email::suspend_incoming - Software Development Kit - cPanel Documentation

We document steps for accessing your server via the command line at:

How to Access the Command Line - cPanel Knowledge Base - cPanel Documentation

Thank you.