Clear eximstats mail database in cpanel/WHM


First check the disk space on eximstats directory

root@server [~]# du -sh /var/lib/mysql/eximstats

To clear the database entries , login to mysql

root@server [~]# mysql

Once logged in just fire the below commands :-

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

Thats it.

 

Advertisements

One thought on “Clear eximstats mail database in cpanel/WHM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s