Mail Statistics No Longer Work on Openexchange Server

Support knowledgebase (rsimai_slox_mailgraph)
Applies to

Openexchange Server: Version 4

Symptom

The mail statistics display is no longer working. The charts have suddenly stopped.

Cause

The most likely cause is the turn of the year.
'mailgraph' cannot handle it and thus it stops analyzing the new data.

Solution

Restart 'mailgraph'.
In the following lines, a proven procedure will be described. The commands must be executed as root from a console. However, note that old statistics will be lost. If they are still relevant, make a backup of the graphics available via browser first.
  1. Stop the service and move (or remove) its data file
    rcmailgraph stop
    mv /var/lib/mailgraph/mailgraph.rrd /tmp/
    
  2. Check the file /var/log/mail to see if last year's entries are still available.
  3. Purge the log file or 'rotate' it manually. Then restart 'mailgraph'
    rcsyslog stop
    gzip -c /var/log/mail >/var/log/mail-`date +%Y%m%d`.gz
    rm /var/log/mail
    rcsyslog start
    rcmailgraph start
    
The new statistics should be displayed again. Unfortunately, old data prior to the log file start will no longer be available.
Keywords: SLOX, OPENEXCHANGESERVER, MAILGRAPH, STATISTICS

Categories: SuSE Linux IMAP Server

SDB-rsimai_slox_mailgraph, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 10. Jan 2003
SuSE Linux AG - Last generated: 22. Jan 2003 by rsimai (sdb_gen 1.40.0)