annotate src/includes.h @ 460:ad05c61d6372 stable-6-0-74

add debug code for spf check with microsoft /14
author Carl Byington <carl@five-ten-sg.com>
date Mon, 24 Dec 2018 09:37:36 -0800
parents f9165d9aa689
children 5209e92b4885
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
143
ecb40aa3eaa5 require two periods for ip addresses
carl
parents: 94
diff changeset
1 /*
ecb40aa3eaa5 require two periods for ip addresses
carl
parents: 94
diff changeset
2
152
c7fc218686f5 gpl3, block mail to recipients that cannot reply
carl
parents: 143
diff changeset
3 Copyright (c) 2007 Carl Byington - 510 Software Group, released under
c7fc218686f5 gpl3, block mail to recipients that cannot reply
carl
parents: 143
diff changeset
4 the GPL version 3 or any later version at your choice available at
c7fc218686f5 gpl3, block mail to recipients that cannot reply
carl
parents: 143
diff changeset
5 http://www.gnu.org/licenses/gpl-3.0.txt
143
ecb40aa3eaa5 require two periods for ip addresses
carl
parents: 94
diff changeset
6
ecb40aa3eaa5 require two periods for ip addresses
carl
parents: 94
diff changeset
7 */
ecb40aa3eaa5 require two periods for ip addresses
carl
parents: 94
diff changeset
8
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
9 #define VERIFY_DEBUG 1
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
10 #define RESOLVER_DEBUG 1
316
f7c5cfb76e86 better smtp verify logging
Carl Byington <carl@five-ten-sg.com>
parents: 314
diff changeset
11 #undef VERIFY_DEBUG
223
da9e7f1c8160 fix unsigned signed compare, back to mixed -lresolv and libresolv.a with auto requires
Carl Byington <carl@five-ten-sg.com>
parents: 222
diff changeset
12 #undef RESOLVER_DEBUG
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
13
177
a4d313c2460b start embedded dcc filtering
carl
parents: 167
diff changeset
14 #ifdef HAVE_CONFIG_H
a4d313c2460b start embedded dcc filtering
carl
parents: 167
diff changeset
15 #include "config.h"
a4d313c2460b start embedded dcc filtering
carl
parents: 167
diff changeset
16 #endif
a4d313c2460b start embedded dcc filtering
carl
parents: 167
diff changeset
17
214
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
18 #include <map>
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
19 #include <list>
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
20 #include <set>
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
21 #include <fstream>
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
22 #include <regex.h>
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
23 #include <string.h>
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
24 #include <stdlib.h>
227
3fee608becbc Fixes to compile on old systems without memrchr or string::clear().
Carl Byington <carl@five-ten-sg.com>
parents: 223
diff changeset
25 #include <stdio.h>
214
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
26 #include <string>
382
c378e9d03f37 start parsing spf txt records
Carl Byington <carl@five-ten-sg.com>
parents: 316
diff changeset
27 #include <stdint.h>
430
69d33c034a8e include arpa/nameser.h earlier
Carl Byington <carl@five-ten-sg.com>
parents: 382
diff changeset
28 #include <arpa/nameser.h>
214
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
29
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
30 #include "tokenizer.h"
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
31 #include "context.h"
440
f9165d9aa689 more changes for long syslog messages
Carl Byington <carl@five-ten-sg.com>
parents: 430
diff changeset
32 #include "spamass.h"
f9165d9aa689 more changes for long syslog messages
Carl Byington <carl@five-ten-sg.com>
parents: 430
diff changeset
33 #include "dccifd.h"
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
34 #include "dnsbl.h"
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
35 #include "scanner.h"
227
3fee608becbc Fixes to compile on old systems without memrchr or string::clear().
Carl Byington <carl@five-ten-sg.com>
parents: 223
diff changeset
36