diff src/dnsbl.cpp @ 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 688ec12a3c0c
children 4db1457cd11a
line wrap: on
line diff
--- a/src/dnsbl.cpp	Sat Feb 02 12:32:59 2008 -0800
+++ b/src/dnsbl.cpp	Tue Mar 04 21:42:51 2008 -0800
@@ -1109,8 +1109,8 @@
         smfi_setreply(ctx, "550", "5.7.1", "no such user");
         return SMFIS_REJECT;
     }
-    if (ver && (st != white)) {
-        // try to verify this from/to pair of addresses since it is not explicitly whitelisted
+    if (ver) {
+        // try to verify this from/to pair of addresses even if it might be explicitly whitelisted
         char *loto = to_lower_string(rcptaddr);
         bool rc = ver->ok(priv.mailaddr, loto);
         free(loto);