pipiche/dovecot-antispam-plugin

Project ID: 15248

Description

The dovecot antispam plugin watches a defined spam folder (defaults to "SPAM"). It works together with a spam system that classifies each message as it is delivered. When the message is classified as spam, it shall be delivered to the spam folder, otherwise via the regular filtering file the user may have (maildrop, sieve, ...). Now the user has everything classified as spam in the special spam folder, everything else where it should be sorted to.

This is not enough because our spam scanner needs training. We'll occasionally have false positives and false negatives. Now this is the point where the dovecot antispam plugin comes into play. Instead of moving mail into special folders or forwarding them to special mail addresses for retraining, the plugin offers two actions for the user:

  1. moving mail out of the SPAM folder and
  2. moving mail into the SPAM folder.

The dovecot plugin watches these actions (and additionally prohibits APPENDs to the SPAM folder, more for technical reasons than others) and tells the spam classifier that it made an error and needs to re-classify the message (as spam/not spam depending on which way it was moved.)

Installation Instructions

To enable the plugin, edit /etc/dovecot/conf.d/20-imap.conf and add it to the mail_plugins like this:

protocol imap { mail_plugins = $mail_plugins antispam mail_plugin_dir = /usr/lib64/dovecot/imap }

You'll then need to add the antispam-specific configurations to /etc/dovecot/conf.d/90-plugin.conf. See man antispam for configuration options.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Fedora rawhide x86_64 [modified] (16)* Fedora rawhide (96 downloads)

* Total number of downloaded packages.