comparison 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
comparison
equal deleted inserted replaced
365:50f095c0e471 366:9fc05f3a824f
1909 printf("cannot compile regex pattern to find prvs coding in mail addresses\n"); 1909 printf("cannot compile regex pattern to find prvs coding in mail addresses\n");
1910 exit(3); 1910 exit(3);
1911 } 1911 }
1912 1912
1913 // setup dkim results signature detection 1913 // setup dkim results signature detection
1914 if (regcomp(&dkim_r_pattern, "\\sdkim=pass .[0-9]*-bit key. header.d=([^ ]+) ", REG_ICASE | REG_EXTENDED)) { 1914 if (regcomp(&dkim_r_pattern, "\\sdkim=pass\\s*.[0-9]*-bit key.\\s*header.d=([^ ]+)\\s", REG_ICASE | REG_EXTENDED)) {
1915 printf("cannot compile regex pattern to find dkim results signatures\n"); 1915 printf("cannot compile regex pattern to find dkim results signatures\n");
1916 exit(3); 1916 exit(3);
1917 } 1917 }
1918 1918
1919 // setup dkim results signature detection 1919 // setup dkim results signature detection