Clive Portman: code

Fix error from WHM delivery reporter

If you get an error code in WHM's maildelivery report which looks something like this:

Error from delivery reporter: DBD::mysql::db selectall_arrayref failed: Table './eximstats/sends' is marked as crashed and should be repaired

Login via console and issue this:

mysqlcheck --repair eximstats

Note you'll need to refresh whatever page you're on in WHM for the repair to take effect. Just trying again on the Mail Delivery Reports page without refreshing will result in the same error again.