> On Apr 10, 2018, at 1:50 PM, Phil Stracchino <[email protected]> wrote:
>
> /^Subject:.*(Hello there|Hey man)/ DISCARD
Can't say I'd recommend discarding email on such tenuous grounds, but if that's
one wants:
header-checks.pcre:
# One if...endif block per header, here just for "Subject:"
# Each block ends with: /^/ DUNNO, short-circuiting any further
# rules for any other headers. So we first find the right header
# block, then the right rule for that header.
#
if /^Subject:/
/\bHello there/ DISCARD
/\bHey man/ DISCARD
# ... More subject- rules here ...
/^/ DUNNO
endif
--
Viktor.