Mercurial > dnsbl
changeset 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 | 50f095c0e471 |
children | 78de917bacf4 |
files | src/dnsbl.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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); }