Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'cPanel Developers' started by sushlik, Sep 7, 2018.

  1. sushlik

    sushlik Active Member

    Joined:
    Mar 2, 2012
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    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
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,072
    Likes Received:
    215
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice