Skip to main content

editing cpanel email notification priority levels from command line

Comments

6 comments

  • cPRex Jurassic Moderator
    @baypan - thanks for posting, and welcome! No services need to be restarted when editing this file, as it is a flat text file that gets read as necessary by cPanel. Lowering the priority doesn't necessarily disable email notifications. In the main page at WHM >> Contact Manager, you could have "All" set to "Email" and that would mean that any priority level would still trigger an email notification. Let me know if you need anything else!
    0
  • baypan
    @baypan - thanks for posting, and welcome! No services need to be restarted when editing this file, as it is a flat text file that gets read as necessary by cPanel. Lowering the priority doesn't necessarily disable email notifications. In the main page at WHM >> Contact Manager, you could have "All" set to "Email" and that would mean that any priority level would still trigger an email notification. Let me know if you need anything else!

    thanks for the great info. And how can i disable for some of the specific events from sending email notifications via command line? i want to learn how to manage this from command line
    0
  • cPRex Jurassic Moderator
    I believe those details you're looking for can be found in the discussion here:
    0
  • baypan
    I believe those details you're looking for can be found in the discussion here:
    0
  • cPRex Jurassic Moderator
    The files are not dependent on the operating system, but /var/cpanel/clevels.conf doesn't exist until you have made a modification in WHM >> Contact Manager. I don't have a way to generate that file from scratch without using the interface at least once. You may not have the iclevels.conf file at all, which is fine.
    0
  • baypan
    i've found a solution, i have edited the icontact_event_importance.json file and made the priority to low (4) and cpanel stopped sending notification for that specific event. hope this will help who looks for managing the cpanel notifications from command line.
    0

Please sign in to leave a comment.