diff options
| author | Bill Wohler | 2005-12-02 04:54:06 +0000 |
|---|---|---|
| committer | Bill Wohler | 2005-12-02 04:54:06 +0000 |
| commit | f09e2a44951645af111d173feddc45553ff570b4 (patch) | |
| tree | d387b3a3be6306b9824de85c6301ffc9cbec71e1 | |
| parent | dfd8ca695d02003a267207f095adcb48d0176eea (diff) | |
| download | emacs-f09e2a44951645af111d173feddc45553ff570b4.tar.gz emacs-f09e2a44951645af111d173feddc45553ff570b4.zip | |
(mh-bogofilter-blacklist, mh-bogofilter-whitelist): Bogofilter is
lowercase except at beginning of sentence and in titles.
| -rw-r--r-- | lisp/mh-e/mh-junk.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/mh-e/mh-junk.el b/lisp/mh-e/mh-junk.el index 09814a4cd5a..54d21db443a 100644 --- a/lisp/mh-e/mh-junk.el +++ b/lisp/mh-e/mh-junk.el | |||
| @@ -306,7 +306,7 @@ wildcard entry such as: | |||
| 306 | (defvar mh-bogofilter-executable (executable-find "bogofilter")) | 306 | (defvar mh-bogofilter-executable (executable-find "bogofilter")) |
| 307 | 307 | ||
| 308 | (defun mh-bogofilter-blacklist (msg) | 308 | (defun mh-bogofilter-blacklist (msg) |
| 309 | "Blacklist MSG with Bogofilter. | 309 | "Blacklist MSG with bogofilter. |
| 310 | 310 | ||
| 311 | Bogofilter is a Bayesian spam filtering program. Get it from your local | 311 | Bogofilter is a Bayesian spam filtering program. Get it from your local |
| 312 | distribution or from http://bogofilter.sourceforge.net/. | 312 | distribution or from http://bogofilter.sourceforge.net/. |
| @@ -324,11 +324,11 @@ training methods are described in the FAQ that is distributed with bogofilter. | |||
| 324 | Note that most Bayesian filters need 1000 to 5000 of each type of message to | 324 | Note that most Bayesian filters need 1000 to 5000 of each type of message to |
| 325 | start doing a good job. | 325 | start doing a good job. |
| 326 | 326 | ||
| 327 | To use Bogofilter, add the following recipes to `.procmailrc': | 327 | To use bogofilter, add the following recipes to `.procmailrc': |
| 328 | 328 | ||
| 329 | MAILDIR=$HOME/`mhparam Path` | 329 | MAILDIR=$HOME/`mhparam Path` |
| 330 | 330 | ||
| 331 | # Fight spam with Bogofilter. | 331 | # Fight spam with bogofilter. |
| 332 | :0fw | 332 | :0fw |
| 333 | | bogofilter -3 -e -p | 333 | | bogofilter -3 -e -p |
| 334 | 334 | ||
| @@ -340,9 +340,9 @@ To use Bogofilter, add the following recipes to `.procmailrc': | |||
| 340 | * ^X-Bogosity: Unsure, tests=bogofilter | 340 | * ^X-Bogosity: Unsure, tests=bogofilter |
| 341 | spam/unsure/. | 341 | spam/unsure/. |
| 342 | 342 | ||
| 343 | If Bogofilter classifies a message incorrectly, or is unsure, you can use the | 343 | If bogofilter classifies a message incorrectly, or is unsure, you can use the |
| 344 | MH-E commands \\[mh-junk-blacklist] and \\[mh-junk-whitelist] to update | 344 | MH-E commands \\[mh-junk-blacklist] and \\[mh-junk-whitelist] to update |
| 345 | Bogofilter's training. | 345 | bogofilter's training. |
| 346 | 346 | ||
| 347 | The \"Bogofilter FAQ\" suggests that you run the following | 347 | The \"Bogofilter FAQ\" suggests that you run the following |
| 348 | occasionally to shrink the database: | 348 | occasionally to shrink the database: |
| @@ -359,7 +359,7 @@ The \"Bogofilter tuning HOWTO\" describes how you can fine-tune Bogofilter." | |||
| 359 | nil "-s"))) | 359 | nil "-s"))) |
| 360 | 360 | ||
| 361 | (defun mh-bogofilter-whitelist (msg) | 361 | (defun mh-bogofilter-whitelist (msg) |
| 362 | "Whitelist MSG with Bogofilter. | 362 | "Whitelist MSG with bogofilter. |
| 363 | 363 | ||
| 364 | See `mh-bogofilter-blacklist' for more information." | 364 | See `mh-bogofilter-blacklist' for more information." |
| 365 | (unless mh-bogofilter-executable | 365 | (unless mh-bogofilter-executable |