This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2010-08-31 22:14:02
Size: 1944
Editor: interfaSys
Comment:
Revision 6 as of 2010-11-17 20:14:11
Size: 1801
Editor: 93-33-101-88
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
The antispam plugin allows you to retrain the spam filter by simply moving emails in and out of the Spam folder. The original project can be found [[http://johannes.sipsolutions.net/Projects/dovecot-antispam|HERE]]. The antispam plugin allows you to retrain the spam filter by simply moving emails in and out of the Spam folder. This is the fork of the analogous plugin for Dovecot versions prior to v2.0. The original project can be found [[http://johannes.sipsolutions.net/Projects/dovecot-antispam|HERE]].
Line 6: Line 6:
Currently there are no antispam-plugin releases for v2.0, but you can get them from the the Mercurial repository: === Releases ===
None so far.

=== Mercurial ===
Execute the following commands in order to get the source from the Mercurial repository:
Line 12: Line 16:
There is a web interface available [[http://hg.dovecot.org/dovecot-antispam-plugin/|HERE]].
Line 14: Line 20:
{{{
# ./autogen.sh
}}}
If you installed Dovecot from sources, antispam-plugin's configure script should be able to find the files it needs automatically
{{{
# ./configure
# make
# make install
}}}
Line 24: Line 21:
If this doesn't work, you can use the {{{--prefix=<path>}}} configure option: If you installed Dovecot from sources, antispam-plugin's configure script should be able to find the files it needs automatically, just make sure the {{{--prefix=<path>}}} is specified correctly:
Line 30: Line 28:
If you get a {{{DC_DOVECOT: not found"}}} error message when running configure, make sure dovecot.m4 is in your aclocal folder.
Line 31: Line 30:
If you get a {{{DC_DOVECOT: not found"}}} error message when running configure, make sure dovecot.m4 is in your aclocal folder.
Line 33: Line 31:
Please refer to the manual page dovecot-antispam(7) installed during the {{{make install}}} or view the textual version online [[http://hg.dovecot.org/dovecot-antispam-plugin/raw-file/tip/doc/dovecot-antispam.7.txt|HERE]].
Line 34: Line 33:
== conf.d/20-imap.conf ==
{{{
protocol imap {
...
  mail_plugins = $mail_plugins antispam
...
}
}}}
== conf.d/90-plugin.conf ==
The original man page can be found [[http://johannes.sipsolutions.net/files/antispam.html|HERE]]

Here is an example using the mailtrain backend

{{{
plugin {
...
  antispam_backend = mailtrain
  antispam_mail_notspam = nospam-%u
  antispam_mail_sendmail = /usr/sbin/sendmail
  antispam_mail_spam = spam-%u
  antispam_mail_tmpdir = /tmp
  antispam_signature = X-DSPAM-Signature
  antispam_signature_missing = move
  antispam_spam_pattern_ignorecase = INBOX.spam;INBOX.junk;spam;junk
  antispam_trash_pattern_ignorecase = trash;deleted
...
}
}}}
== Feedback ==
Please report the bugs, feature requests, or anything else regarding this plugin to its author and maintainer: [[mailto:eugene@raptor.kiev.ua?subject=dovecot-antispam plugin feedback|Eugene Paskevich]].

Antispam plugin

Introduction

The antispam plugin allows you to retrain the spam filter by simply moving emails in and out of the Spam folder. This is the fork of the analogous plugin for Dovecot versions prior to v2.0. The original project can be found HERE.

Getting the sources

Releases

None so far.

Mercurial

Execute the following commands in order to get the source from the Mercurial repository:

# hg clone http://hg.dovecot.org/dovecot-antispam-plugin
# cd dovecot-antispam-plugin

There is a web interface available HERE.

Compiling

If you downloaded the sources using Mercurial, you will need to execute ./autogen.sh first to build the automake structure in your source tree. This process requires autotools and libtool to be installed.

If you installed Dovecot from sources, antispam-plugin's configure script should be able to find the files it needs automatically, just make sure the --prefix=<path> is specified correctly:

# ./configure --prefix=/usr
# make
# make install

If you get a DC_DOVECOT: not found" error message when running configure, make sure dovecot.m4 is in your aclocal folder.

Configuration and Use

Please refer to the manual page dovecot-antispam(7) installed during the make install or view the textual version online HERE.

Feedback

Please report the bugs, feature requests, or anything else regarding this plugin to its author and maintainer: Eugene Paskevich.

None: Plugins/Antispam (last edited 2017-02-10 07:49:27 by officewifi)