Mercurial > dnsbl
comparison src/spamass.cpp.in @ 203:92a5c866bdfa
Verify from/to pairs even if they might be explicitly whitelisted.
Document DCC greylisting and bulk detection usage. Fix DCC bulk
thresholds of many. Update spec file for fedora packaging.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 04 Mar 2008 21:42:51 -0800 |
parents | a4d313c2460b |
children | 82886d4dd71f |
comparison
equal
deleted
inserted
replaced
202:ae0585d64dd2 | 203:92a5c866bdfa |
---|---|
16 #include <string> | 16 #include <string> |
17 #include <sys/types.h> | 17 #include <sys/types.h> |
18 #include <sys/wait.h> | 18 #include <sys/wait.h> |
19 #include <unistd.h> | 19 #include <unistd.h> |
20 | 20 |
21 | |
22 static const char Id[] = "$Id$"; | |
23 | 21 |
24 char *spamc = "@SPAMC@"; | 22 char *spamc = "@SPAMC@"; |
25 char *spamc_empty = ""; | 23 char *spamc_empty = ""; |
26 static bool warnedmacro = false; // have we logged that we couldn't fetch a macro? | 24 static bool warnedmacro = false; // have we logged that we couldn't fetch a macro? |
27 const int maxlen = 1000; // used for snprintf buffers | 25 const int maxlen = 1000; // used for snprintf buffers |