Mercurial > dnsbl
comparison src/dnsbl.cpp @ 432:4ffa356316d5
allow syslogging of long txt records
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 24 Oct 2017 08:54:45 -0700 |
parents | 69d33c034a8e |
children | 7b072e16bd69 |
comparison
equal
deleted
inserted
replaced
431:cb88e1291ac9 | 432:4ffa356316d5 |
---|---|
92 bool syslog_opened = false; | 92 bool syslog_opened = false; |
93 bool use_syslog = true; // false to printf | 93 bool use_syslog = true; // false to printf |
94 bool loader_run = true; // used to stop the config loader thread | 94 bool loader_run = true; // used to stop the config loader thread |
95 CONFIG *config = NULL; // protected by the config_mutex | 95 CONFIG *config = NULL; // protected by the config_mutex |
96 int generation = 0; // protected by the config_mutex | 96 int generation = 0; // protected by the config_mutex |
97 const int maxlen = 1000; // used for snprintf buffers | 97 const int maxlen = maxdnslength; // used for snprintf buffers |
98 regex_t srs_pattern; // used to detect srs coding in mail addresses | 98 regex_t srs_pattern; // used to detect srs coding in mail addresses |
99 regex_t prvs_pattern; // used to detect prvs coding in mail addresses | 99 regex_t prvs_pattern; // used to detect prvs coding in mail addresses |
100 regex_t dkim_r_pattern; // used to detect dkim signatures authenticated by the upstream opendkim milter | 100 regex_t dkim_r_pattern; // used to detect dkim signatures authenticated by the upstream opendkim milter |
101 regex_t dkim_s_pattern; // used to detect dkim signatures generated by the upstream opendkim milter | 101 regex_t dkim_s_pattern; // used to detect dkim signatures generated by the upstream opendkim milter |
102 regex_t from_pattern; // used to extract the senders mail domain from the body from: header | 102 regex_t from_pattern; // used to extract the senders mail domain from the body from: header |