comparison src/dnsbl.cpp @ 159:ea7c57a4a2d1 stable-6-01

add auto whitelisting
author carl
date Sun, 08 Jul 2007 11:57:51 -0700
parents a220bfb9211f
children c4bce911c276
comparison
equal deleted inserted replaced
158:ca4f178f9064 159:ea7c57a4a2d1
1027 if (w) { 1027 if (w) {
1028 char *loto = to_lower_string(rcptaddr); 1028 char *loto = to_lower_string(rcptaddr);
1029 if (debug_syslog > 1) { 1029 if (debug_syslog > 1) {
1030 char buf[maxlen]; 1030 char buf[maxlen];
1031 char msg[maxlen]; 1031 char msg[maxlen];
1032 snprintf(msg, sizeof(msg), "whitelist reply from <%s> in context %s", loto, con.get_full_name(buf,maxlen)); 1032 snprintf(msg, sizeof(msg), "whitelist reply from <%s> in context %s", loto, con2.get_full_name(buf,maxlen));
1033 my_syslog(&priv, msg); 1033 my_syslog(&priv, msg);
1034 } 1034 }
1035 w->sent(loto); // don't free it, the whitelister takes ownership of the string 1035 w->sent(loto); // don't free it, the whitelister takes ownership of the string
1036 } 1036 }
1037 // accept the recipient 1037 // accept the recipient