]> code.delx.au - gnu-emacs/commitdiff
mh-junk.el (mh-spamassassin-whitelist): Add two missing
authorStephen Gildea <gildea@stop.mail-abuse.org>
Tue, 26 Sep 2006 02:40:50 +0000 (02:40 +0000)
committerStephen Gildea <gildea@stop.mail-abuse.org>
Tue, 26 Sep 2006 02:40:50 +0000 (02:40 +0000)
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.

lisp/mh-e/ChangeLog
lisp/mh-e/mh-junk.el

index 4763cbcc292ef8b841164a458611e430ba067f5d..76875b2849bf0f93101d92825a5d8f0d9a558fe5 100644 (file)
@@ -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 
index 9d02db0dc1183c8c263a8b5bf3ff27f21000f5dc..67f267d672f8995dbfbd4fb34dd7d86529450aa2 100644 (file)
@@ -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