> On Apr 10, 2018, at 1:50 PM, Phil Stracchino <ph...@caerllewys.net> 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:

        # 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


Reply via email to