Function: mh-spamprobe-allowlist
mh-spamprobe-allowlist is an autoloaded and byte-compiled function
defined in mh-junk.el.gz.
Signature
(mh-spamprobe-allowlist MSG)
Documentation
Allowlist MSG with SpamProbe.
See mh-spamprobe-blocklist for more information.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-junk.el.gz
;;;###mh-autoload
(defun mh-spamprobe-allowlist (msg)
"Allowlist MSG with SpamProbe.
See `mh-spamprobe-blocklist' for more information."
(unless mh-spamprobe-executable
(error "Unable to find the spamprobe executable"))
(message "Allowlisting message %d with spamprobe..." msg)
(let ((msg-file (mh-msg-filename msg mh-current-folder)))
(mh-truncate-log-buffer)
;; Put call-process output in log buffer if we are saving it
;; (this happens if mh-junk-background is t).
(with-current-buffer mh-log-buffer
(call-process mh-spamprobe-executable msg-file mh-junk-background
nil "good")
(message "Allowlisting message %d with spamprobe...done" msg))))