Hi, I'm trying to match a pattern in a header_checks pcre file and can't figure out why it's not matching. In /etc/postfix/header_checks.pcre, I have:
/^From:.*exampleuser@gmail\.com$/ REJECT # postmap -q 'exampleuser' pcre:/etc/postfix/header_checks.pcre # postconf -m shows pcre among the available types. I'd really appreciate some direction on what I'm doing wrong. Is it the pattern? I'm not very experienced with regexes. Thanks, Alex