plugins/spamstats move rotlogfile logic to Plugin.pm