comparison src/dnsbl.cpp @ 476:fcf66a7aead5 stable-6-0-78

fix dkim regex
author Carl Byington <carl@five-ten-sg.com>
date Sat, 20 Feb 2021 10:24:12 -0800
parents 9b4477b75065
children
comparison
equal deleted inserted replaced
475:9b4477b75065 476:fcf66a7aead5
2061 printf("cannot compile regex pattern to find prvs coding in mail addresses\n"); 2061 printf("cannot compile regex pattern to find prvs coding in mail addresses\n");
2062 exit(3); 2062 exit(3);
2063 } 2063 }
2064 2064
2065 // setup dkim results signature detection 2065 // setup dkim results signature detection
2066 if (regcomp(&dkim_r_pattern, "\\sdkim=pass\\s*\([0-9]*-bit key[^\)]*\)\\s*header.d=([^ ]+)\\s", REG_ICASE | REG_EXTENDED)) { 2066 if (regcomp(&dkim_r_pattern, "\\sdkim=pass\\s*\\([0-9]*-bit key[^\\)]*\\)\\s*header.d=([^ ]+)\\s", REG_ICASE | REG_EXTENDED)) {
2067 printf("cannot compile regex pattern to find dkim results signatures\n"); 2067 printf("cannot compile regex pattern to find dkim results signatures\n");
2068 exit(3); 2068 exit(3);
2069 } 2069 }
2070 2070
2071 // setup dkim results signature detection 2071 // setup dkim results signature detection