aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-03-05 14:31:28 +0100
committerJohannes Berg <johannes@sipsolutions.net>2008-03-05 14:31:28 +0100
commit30069ed708d38d32cd889611812af917bd5a0f9a (patch)
tree921344f3147cce6cdf04c3b5f17dbaf69a9aef94
parent2d179744d79dc67b1bfcb7881ee7854577fbd17c (diff)
downloaddovecot-antispam-30069ed708d38d32cd889611812af917bd5a0f9a.tar.gz
dovecot-antispam-30069ed708d38d32cd889611812af917bd5a0f9a.tar.xz
dovecot-antispam-30069ed708d38d32cd889611812af917bd5a0f9a.zip
add note about using mailtrain for other purposes (suggested by Steffen Kaiser)
-rw-r--r--antispam.713
1 files changed, 13 insertions, 0 deletions
diff --git a/antispam.7 b/antispam.7
index b63ac1e..3eb51a6 100644
--- a/antispam.7
+++ b/antispam.7
@@ -137,6 +137,19 @@ plugin {
#=====================
# mail sending plugin
+ #
+ # Because of the way this plugin works, you can also use it
+ # to train via an arbitrary program that receives the message
+ # on standard input, in that case you can use the config
+ # options antispam_mail_spam and antispam_mail_notspam for
+ # the argument that distinguishes between ham and spam.
+ # For example:
+ # antispam_mail_sendmail = /path/to/mailtrain
+ # antispam_mail_sendmail_args = --for;%u
+ # antispam_mail_spam = --spam
+ # antispam_mail_notspam = --ham
+ # will call it, for example, like this:
+ # /path/to/mailtrain --for jberg --spam
# temporary directory
antispam_mail_tmpdir = /tmp