Trim the eximstats database (cPanel)

If you’re using cPanel and have noticed you have a large eximstats database, you can clear it using one of these two methods:

Method one:

use eximstats;
delete from sends;
delete from smtp;
delete from failures;
delete from defers;

Method two:

mysqladmin drop eximstats
mysqladmin create eximstats
mysql eximstats < /usr/local/cpanel/etc/eximstats_db.sql

Share this Post