create statistics for mail and imap based on syslog messages