aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-10-01 20:20:06 +0200
committerJohannes Berg <johannes@sipsolutions.net>2007-10-01 20:20:06 +0200
commit4ee8b72dab4a5bc0309a956942ee2dc9d2f7258f (patch)
treeaba52771d988121ca4cfc15e5ffb47225cf2a37d /README
parentc3ac6381f2ce2410ac7458e127532a7f1068a307 (diff)
downloaddovecot-antispam-4ee8b72dab4a5bc0309a956942ee2dc9d2f7258f.tar.gz
dovecot-antispam-4ee8b72dab4a5bc0309a956942ee2dc9d2f7258f.tar.xz
dovecot-antispam-4ee8b72dab4a5bc0309a956942ee2dc9d2f7258f.zip
add mailtrain backend and docs
Diffstat (limited to '')
-rw-r--r--README38
1 files changed, 37 insertions, 1 deletions
diff --git a/README b/README
index 2b720b6..c9c4e06 100644
--- a/README
+++ b/README
@@ -49,6 +49,28 @@ INSTALLATION
# mail_plugin_dir = /usr/lib/dovecot/modules/imap
}
+BACKENDS
+
+ The plugin supports multiple backends, there are currently two working
+ backends included in the distribution:
+
+ dspam executable backend (dspam specific)
+
+ This backend instantly retrains by calling dspam. There are some
+ problems with this approach including
+ (1) it can take a long time during which the IMAP session is
+ blocked
+ (2) when many users retrain many messages at once server load may
+ spike
+
+ email sender backend (spam filter agnostic)
+
+ This backend sends mail to ham@example.com or spam@example.com
+ (actual addresses are configurable) for retraining. This backend can
+ be very fast to set up if you already have a working setup that uses
+ training addresses as recommended by many spam filter setups.
+
+
CONFIGURATION
Aside from the build-configuration done in the '.config' file, you have
@@ -72,7 +94,8 @@ CONFIGURATION
# BACKEND SPECIFIC OPTIONS
#
- # dspam-exec plugin:
+ #===================
+ # dspam-exec plugin
# dspam binary
antispam_dspam_binary = /usr/bin/dspam
@@ -82,6 +105,19 @@ CONFIGURATION
# antispam_dspam_args =
# antispam_dspam_args = --user;%u # % expansion done by dovecot
# antispam_dspam_args = --mode=teft
+
+ #=====================
+ # mail sending plugin
+
+ # temporary directory
+ antispam_mail_tmpdir = /tmp
+
+ # spam/not-spam addresses (default unset which will give errors)
+ # antispam_mail_spam =
+ # antispam_mail_ham =
+
+ # sendmail binary
+ antispam_mail_tmpdir = /usr/sbin/sendmail
}
AUTHORS