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!

Purging of notification history

Discussion in 'Security' started by ottdev, Sep 1, 2016.

  1. ottdev

    ottdev Well-Known Member

    Joined:
    Oct 1, 2013
    Messages:
    115
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    The history of user_notifications emails sent - is there a retention setting in WHM for this specifically or the timing coincides with log rollover? Or not controlled at all at this time ? Safe to delete manually ?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,457
    Likes Received:
    417
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Where is the history you speak of?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ottdev

    ottdev Well-Known Member

    Joined:
    Oct 1, 2013
    Messages:
    115
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    locate user_notifications |grep '\.eml'
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,741
    Likes Received:
    76
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    looks like it rotates every week or so
    /var/cpanel/user_notifications/username/history


    folders should me no larger than few k our largest is 272K so I don know why you would want to clear them manually unless they are extremely large
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Additional information on this topic is available under the "Comments" section at:

    Limit size of /var/cpanel/user_notifications

    Could you let us know if you are having trouble with the size of the user_notifications directory? If so, could you verify which version of cPanel is installed on the system?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. ottdev

    ottdev Well-Known Member

    Joined:
    Oct 1, 2013
    Messages:
    115
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    The space used is small, but some of those emails date back 1.5 yr.
    What do I check to verify the rotation schedule for these ?

    Its not the big long file names causing a problem with deleting is it?

    /var/cpanel/user_notifications/root/history/1474397087_cPHulk___[colo.ourserverhostname.net]\ ⚠\ Large\ Number\ of\ Failed\ Login\ Attempts\ from\ 94.100.18.138.eml
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Would you mind opening a support ticket using the link in my signature so we can take a closer look and determine why it's not removing files older than 10 days? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
    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