How to auto-create a Spam-Filter-Rule for newly added Email-Accounts?

sushlik

Active Member
Mar 2, 2012
26
0
51
cPanel Access Level
Root Administrator
Hello,

currently all of our cPanel-users need to create a spam-filter-rule for each newly added mail-account.

It would be better, if we could setup a pre-defined spam-filter-rule that will be added automatically to each newly created account.

When looking for a solution, my server-provider replied and pointed me here:
cPanel API 2 Functions - Email::filterlist - Developer Documentation - cPanel Documentation

Is there anybody who has ever created such a solution and would be willing to share it here with us?

Thank you and kind regards,
Sascha
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
6,845
545
263
Houston
cPanel Access Level
DataCenter Provider