|
From: Greg M. <min...@um...> - 2026-06-08 20:49:52
|
hi, Kevin,
thanks. this realization i had that (currently) 99% of my spam/scams is
destined to e-mail addresses that are actually bogus (but, end up in my
inbox) has simplified my life enough that i'm not pursuing that path
right now.
i've set up the following so that, once i've scanned +inbox after
fetching e-mail, i can [M-C-x] to see only those bad-address e-mails.
-----
;; one way of dealing with spam is to look at everything to a bogus address
(add-hook
'mh-folder-mode-hook
#'(lambda ()
(keymap-local-set
"C-M-x"
(lambda ()
(interactive)
(mh-narrow-to-header-field
'to
(mh-edit-pick-expr
(mh-quote-pick-expr
'("-to" "BAD...@EX..." "-or" "-to"
"BAD...@EX..." "-or" "-to" "BAD...@EX..." "-or" "-to" "BAD...@EX..."))))))))
-----
(s/b a `dolist`)
|