On Thu, Nov 13, 2014 at 10:08:54AM -0800, J. wrote:
> PCRE rule:
> /____________________*[\s\n\r]*(.*) (.*)@test.com/ REJECT testing
> Why does this text match the pcre? As I read it, there must be
> a line break after the underscores to match,
Actually, no, because the [\s\n\r]* matches any number of white-space
chacters, including ZERO. Perhaps you meant:
(\s*\r\n)+
but even then body content is scanned one line at a time, and you
cannot make use of patterns that (try to) match multiple lines.
> Does . match linebreaks?:
Yes, by default, in Postfix header checks, but you're testing body
content I think.
--
Viktor.