The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Prune Eximstats

Discussion in 'Database Discussions' started by JedCavins, Jan 22, 2017.

Tags:
  1. JedCavins

    JedCavins Registered

    Joined:
    Jan 2, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    usa
    cPanel Access Level:
    Root Administrator
    So,

    If a client had their setting in /var/cpanel/cpanel.config
    Code:
    exim_retention_days=90
    and they lower it to
    Code:
    exim_retention_days=10
    will this prune the 80 days off or just truncate the database and start over?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It will show the last 10 days of statistics if you make that change, as opposed to removing all data and starting the statistics from zero. You can also manually import Eximstats data if you ever lose the existing data with a command such as:

    Code:
    /scripts/import_exim_data /var/log/exim_mainlog*
    Thank you.
     
Loading...

Share This Page