diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-03-05 14:31:28 +0100 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2008-03-05 14:31:28 +0100 |
commit | 30069ed708d38d32cd889611812af917bd5a0f9a (patch) | |
tree | 921344f3147cce6cdf04c3b5f17dbaf69a9aef94 | |
parent | 2d179744d79dc67b1bfcb7881ee7854577fbd17c (diff) | |
download | dovecot-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.7 | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |