annotate src/includes.h @ 268:f941563c2a95 stable-6-0-34

Add require_rdns checking
author Carl Byington <carl@five-ten-sg.com>
date Wed, 22 May 2013 11:29:44 -0700
parents 3fee608becbc
children 802e2b779ed1
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
e107ade3b1c0 fix dos line terminators
carl
parents: 92
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>
82886d4dd71f Fixes to compile on Fedora 9 and for const correctness.
Carl Byington <carl@five-ten-sg.com>
parents: 177
diff changeset
27
94
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
28 #include "tokenizer.h"
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
29 #include "context.h"
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
30 #include "dnsbl.h"
e107ade3b1c0 fix dos line terminators
carl
parents: 92
diff changeset
31 #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
32 #include "spamass.h"
177
a4d313c2460b start embedded dcc filtering
carl
parents: 167
diff changeset
33 #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
34