1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

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.
This commit is contained in:
Stephen Gildea 2006-09-26 02:40:50 +00:00
parent 799f7c09a2
commit 25173d930b
2 changed files with 13 additions and 1 deletions

View 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> 2006-09-24 Stephen Gildea <gildea@stop.mail-abuse.org>
* mh-comp.el (mh-send-args): Initialize to "" instead of nil * mh-comp.el (mh-send-args): Initialize to "" instead of nil

View File

@ -115,6 +115,9 @@ http://spamassassin.org/.
To use SpamAssassin, add the following recipes to To use SpamAssassin, add the following recipes to
\".procmailrc\": \".procmailrc\":
# Append to $PATH the location of mhparam in some distros.
PATH=$PATH:/usr/bin/mh
MAILDIR=$HOME/`mhparam Path` MAILDIR=$HOME/`mhparam Path`
# Fight spam with SpamAssassin. # Fight spam with SpamAssassin.
@ -244,7 +247,7 @@ See `mh-spamassassin-blacklist' for more information."
(when mh-sa-learn-executable (when mh-sa-learn-executable
(message "Recategorizing this message as ham...") (message "Recategorizing this message as ham...")
(call-process mh-sa-learn-executable msg-file mh-temp-buffer nil (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) (message "Whitelisting message %d..." msg)
(setq from (setq from
(car (mh-funcall-if-exists (car (mh-funcall-if-exists