changeset 73130:1e5bc57805bc

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.
author Stephen Gildea <gildea@stop.mail-abuse.org>
date Tue, 26 Sep 2006 02:40:50 +0000
parents 6478736310c3
children f88e4cd6cc93
files lisp/mh-e/ChangeLog lisp/mh-e/mh-junk.el
diffstat 2 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mh-e/ChangeLog	Tue Sep 26 02:16:16 2006 +0000
+++ b/lisp/mh-e/ChangeLog	Tue Sep 26 02:40:50 2006 +0000
@@ -1,3 +1,12 @@
+2006-09-25  Stephen Gildea  <gildea@stop.mail-abuse.org>
+
+	* 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.
+	
 2006-09-24  Stephen Gildea  <gildea@stop.mail-abuse.org>
 
 	* mh-comp.el (mh-send-args): Initialize to "" instead of nil 
--- a/lisp/mh-e/mh-junk.el	Tue Sep 26 02:16:16 2006 +0000
+++ b/lisp/mh-e/mh-junk.el	Tue Sep 26 02:40:50 2006 +0000
@@ -115,6 +115,9 @@
 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 @@
       (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