# HG changeset patch # User Carl Byington # Date 1484600880 28800 # Node ID df45a23776324e59695331b60cc8ca9c8d6c07dc # Parent 7fba7cc2150ee91e9ec514e1c783c7be4f5e34ca allow upstream opendkim header to be wrapped diff -r 7fba7cc2150e -r df45a2377632 src/dnsbl.cpp --- a/src/dnsbl.cpp Mon Jan 16 12:43:32 2017 -0800 +++ b/src/dnsbl.cpp Mon Jan 16 13:08:00 2017 -0800 @@ -1911,13 +1911,13 @@ } // setup dkim results signature detection - if (regcomp(&dkim_r_pattern, " dkim=pass .[0-9]*-bit key. header.d=([^ ]+) ", REG_ICASE | REG_EXTENDED)) { - printf("cannot compile regex pattern to find dkim results gnatures\n"); + if (regcomp(&dkim_r_pattern, "\\sdkim=pass .[0-9]*-bit key. header.d=([^ ]+) ", REG_ICASE | REG_EXTENDED)) { + printf("cannot compile regex pattern to find dkim results signatures\n"); exit(3); } // setup dkim results signature detection - if (regcomp(&dkim_s_pattern, " d=([^;]+);", REG_ICASE | REG_EXTENDED)) { + if (regcomp(&dkim_s_pattern, "\\sd=([^;]+);", REG_ICASE | REG_EXTENDED)) { printf("cannot compile regex pattern to find dkim signatures\n"); exit(3); }