Handling spam

From Open-Xchange

Open-Xchange provides an abstraction layer for spam handling. Users can mark e-mail as spam and depending on the implementation of the spam handler, this can be used to feed learning systems and other means of spam protection.


Developers can find the source code for the interface in com.openexchange.spamhandler. It is well documented with JavaDoc, though we do at the time not automatically generate and publish HTML pages from it.


Administrators can install bundles that do spam handling. As of now, the following bundles are available in addition to the NoSpamHandler:

Name Package Identifier
Spamexperts open-xchange-spamhandler-spamexperts SpamExperts
Spamassassin open-xchange-spamhandler-spamassassin SpamAssassin
Generic Mail spamhandling (e.g. Cloudmark) open-xchange-spamhandler-cloudmark CloudmarkSpamHandler
Parallels spamhandling open-xchange-spamhandler-parallels
Default open-xchange-spamhandler-default DefaultSpamHandler

Relevant properties to be set according to the used implementation:

  • com.openexchange.spamhandler.name
  • com.openexchange.imap.spamHandler
  • com.openexchange.pop3.spamhandler

As a warning: Don't use more than one of these at the same time.