Mercurial > dnsbl
diff src/dnsbl.cpp @ 366:9fc05f3a824f
allow upstream opendkim header to be wrapped
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 16 Jan 2017 13:50:38 -0800 |
parents | df45a2377632 |
children | 7fd39f029936 |
line wrap: on
line diff
--- a/src/dnsbl.cpp Mon Jan 16 13:27:59 2017 -0800 +++ b/src/dnsbl.cpp Mon Jan 16 13:50:38 2017 -0800 @@ -1911,7 +1911,7 @@ } // setup dkim results signature detection - if (regcomp(&dkim_r_pattern, "\\sdkim=pass .[0-9]*-bit key. header.d=([^ ]+) ", REG_ICASE | REG_EXTENDED)) { + if (regcomp(&dkim_r_pattern, "\\sdkim=pass\\s*.[0-9]*-bit key.\\s*header.d=([^ ]+)\\s", REG_ICASE | REG_EXTENDED)) { printf("cannot compile regex pattern to find dkim results signatures\n"); exit(3); }