Function: mh-junk-blocklist
mh-junk-blocklist is an autoloaded, interactive and byte-compiled
function defined in mh-junk.el.gz.
Signature
(mh-junk-blocklist RANGE)
Documentation
Blocklist RANGE as spam.
This command trains the spam program in use (see the option
mh-junk-program) with the content of RANGE and then handles the
message(s) as specified by the option mh-junk-disposition.
Check the documentation of mh-interactive-range to see how RANGE is
read in interactive use.
For more information about using your particular spam fighting program, see:
- mh-spamassassin-blocklist
- mh-bogofilter-blocklist
- mh-spamprobe-blocklist
Probably introduced at or before Emacs version 28.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-junk.el.gz
;;;###mh-autoload
(defun mh-junk-blocklist (range)
"Blocklist RANGE as spam.
This command trains the spam program in use (see the option
`mh-junk-program') with the content of RANGE and then handles the
message(s) as specified by the option `mh-junk-disposition'.
Check the documentation of `mh-interactive-range' to see how RANGE is
read in interactive use.
For more information about using your particular spam fighting
program, see:
- `mh-spamassassin-blocklist'
- `mh-bogofilter-blocklist'
- `mh-spamprobe-blocklist'"
(interactive (list (mh-interactive-range "Blocklist")))
(mh-iterate-on-range () range (mh-junk-blocklist-a-msg nil))
(if (looking-at mh-scan-blocklisted-msg-regexp)
(mh-next-msg)))