diff -Nur smeserver-mailstats-1.1.bz8957.old/root/etc/e-smith/templates/etc/e-smith/sql/init/99smeserver-mailstats.sql smeserver-mailstats-1.1.bz8957/root/etc/e-smith/templates/etc/e-smith/sql/init/99smeserver-mailstats.sql --- smeserver-mailstats-1.1.bz8957.old/root/etc/e-smith/templates/etc/e-smith/sql/init/99smeserver-mailstats.sql 2015-06-25 20:49:52.416779348 +0200 +++ smeserver-mailstats-1.1.bz8957/root/etc/e-smith/templates/etc/e-smith/sql/init/99smeserver-mailstats.sql 2015-06-25 20:51:31.116995456 +0200 @@ -89,3 +89,6 @@ `time` time NOT NULL default '00:00:00', PRIMARY KEY (`timeid`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; + + +grant all privileges on mailstats.* to 'mailstats'@'localhost' identified by 'mailstats';