aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gildea2006-09-26 02:40:50 +0000
committerStephen Gildea2006-09-26 02:40:50 +0000
commit25173d930bc14cdfb83463daed67923569062ffa (patch)
treea8f77f919b67dfebde0a6159045250e88149bb33
parent799f7c09a2b0dbed6b9b59ab740140a4fd0fb9b5 (diff)
downloademacs-25173d930bc14cdfb83463daed67923569062ffa.tar.gz
emacs-25173d930bc14cdfb83463daed67923569062ffa.zip
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.
-rw-r--r--lisp/mh-e/ChangeLog9
-rw-r--r--lisp/mh-e/mh-junk.el5
2 files changed, 13 insertions, 1 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 4763cbcc292..76875b2849b 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,12 @@
12006-09-25 Stephen Gildea <gildea@stop.mail-abuse.org>
2
3 * mh-junk.el (mh-spamassassin-whitelist): Add two missing
4 quotation marks, so that the last two arguments of sa-learn
5 are separated properly (closes SF #1565460).
6
7 * (mh-spamassassin-blacklist): In example .procmailrc, add
8 PATH element to find mhparam on Debian.
9
12006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org> 102006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
2 11
3 * mh-comp.el (mh-send-args): Initialize to "" instead of nil 12 * mh-comp.el (mh-send-args): Initialize to "" instead of nil
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/.
115To use SpamAssassin, add the following recipes to 115To use SpamAssassin, add the following recipes to
116\".procmailrc\": 116\".procmailrc\":
117 117
118 # Append to $PATH the location of mhparam in some distros.
119 PATH=$PATH:/usr/bin/mh
120
118 MAILDIR=$HOME/`mhparam Path` 121 MAILDIR=$HOME/`mhparam Path`
119 122
120 # Fight spam with SpamAssassin. 123 # Fight spam with SpamAssassin.
@@ -244,7 +247,7 @@ See `mh-spamassassin-blacklist' for more information."
244 (when mh-sa-learn-executable 247 (when mh-sa-learn-executable
245 (message "Recategorizing this message as ham...") 248 (message "Recategorizing this message as ham...")
246 (call-process mh-sa-learn-executable msg-file mh-temp-buffer nil 249 (call-process mh-sa-learn-executable msg-file mh-temp-buffer nil
247 "--single" "--ham" "--local --no-rebuild")) 250 "--single" "--ham" "--local" "--no-rebuild"))
248 (message "Whitelisting message %d..." msg) 251 (message "Whitelisting message %d..." msg)
249 (setq from 252 (setq from
250 (car (mh-funcall-if-exists 253 (car (mh-funcall-if-exists