aboutsummaryrefslogtreecommitdiffstats
path: root/antispam.7
diff options
context:
space:
mode:
Diffstat (limited to 'antispam.7')
-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