High System Load With the SPAM Filter on Openexchange Server

Support knowledgebase (rsimai_slox_spamassassin)
Applies to

Openexchange Server: Version 4

Symptom

When the SPAM filter is activated, the system is sometimes used at full capacity without any apparent reason. The 'spamassassin' consumes almost 100% CPU and new mail messages can no longer be processed or their delivery is extremely slow. This symptom is visible e.g.with the command 'top'.

Cause

The spamassassin must be restarted everytime a new mail message is examined. This has turn out to be adverse for some (big) mails that nearly cause the system to collapse.

Solution

Configure the spamassassin in such a way that a daemon permanently runs in the background.
  1. To do this, edit the file /etc/imap/procmailrc and change the line
    | /usr/bin/spamassassin -P
    
    to
    | /usr/bin/spamc
    
  2. Make the service available at every system start with
    openexchange:~ # chkconfig spamd 35
    
  3. Start the service
    openexchange:~ # rcspamd start
    
These settings will be standard in future versions of SuSE Linux Openexchange Server.
Keywords: OPENEXCHANGE SERVER, SLOX, SPAMASSASSIN, SPAMD, SPAMC, MAIL

Categories: SuSE Linux IMAP Server

SDB-rsimai_slox_spamassassin, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 03. Mar 2003
SuSE Linux AG - Last generated: 03. Mar 2003 by afaber (sdb_gen 1.40.0)