summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-junk.el
diff options
context:
space:
mode:
authorStephen Gildea <gildea@stop.mail-abuse.org>2006-09-26 02:40:50 +0000
committerStephen Gildea <gildea@stop.mail-abuse.org>2006-09-26 02:40:50 +0000
commit25173d930bc14cdfb83463daed67923569062ffa (patch)
treea8f77f919b67dfebde0a6159045250e88149bb33 /lisp/mh-e/mh-junk.el
parent799f7c09a2b0dbed6b9b59ab740140a4fd0fb9b5 (diff)
downloademacs-25173d930bc14cdfb83463daed67923569062ffa.tar.gz
mh-junk.el (mh-spamassassin-whitelist): Add two missing
quotation marks, so that the last two arguments of sa-learn are separated properly (closes SF #1565460). (mh-spamassassin-blacklist): In example .procmailrc, add PATH element to find mhparam on Debian.
Diffstat (limited to 'lisp/mh-e/mh-junk.el')
-rw-r--r--lisp/mh-e/mh-junk.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mh-e/mh-junk.el b/lisp/mh-e/mh-junk.el
index 9d02db0dc11..67f267d672f 100644
--- a/lisp/mh-e/mh-junk.el
+++ b/lisp/mh-e/mh-junk.el
@@ -115,6 +115,9 @@ http://spamassassin.org/.
To use SpamAssassin, add the following recipes to
\".procmailrc\":
+ # Append to $PATH the location of mhparam in some distros.
+ PATH=$PATH:/usr/bin/mh
+
MAILDIR=$HOME/`mhparam Path`
# Fight spam with SpamAssassin.
@@ -244,7 +247,7 @@ See `mh-spamassassin-blacklist' for more information."
(when mh-sa-learn-executable
(message "Recategorizing this message as ham...")
(call-process mh-sa-learn-executable msg-file mh-temp-buffer nil
- "--single" "--ham" "--local --no-rebuild"))
+ "--single" "--ham" "--local" "--no-rebuild"))
(message "Whitelisting message %d..." msg)
(setq from
(car (mh-funcall-if-exists