annotate src/includes.h @ 405:8f3a84de3739 stable-6-0-53-2

handle redirect= elements in spf txt records
author Carl Byington <carl@five-ten-sg.com>
date Fri, 17 Mar 2017 13:50:38 -0700
parents c378e9d03f37
children 69d33c034a8e
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>
214
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
28
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
29 #include "tokenizer.h"
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
30 #include "context.h"
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
31 #include "dnsbl.h"
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
32 #include "scanner.h"
167
9b129ed78d7d actually use spamassassin result, allow build without spam assassin, only call it if some recipient needs it.
carl
parents: 152
diff changeset
33 #include "spamass.h"
177
a4d313c2460b start embedded dcc filtering
carl
parents: 167
diff changeset
34 #include "dccifd.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
35