comparison src/dnsbl.cpp @ 137:a6190f7798f4

add smtp auth rate limits
author carl
date Tue, 26 Sep 2006 14:17:00 -0700
parents f4746d8a12a3
children 9d0bc30b4576
comparison
equal deleted inserted replaced
136:f4746d8a12a3 137:a6190f7798f4
1173 // three minutes thru each loop, 20 loops per hour 1173 // three minutes thru each loop, 20 loops per hour
1174 // clear the recipient counts 1174 // clear the recipient counts
1175 pthread_mutex_lock(&rate_mutex); 1175 pthread_mutex_lock(&rate_mutex);
1176 rcpt_counts.clear(); 1176 rcpt_counts.clear();
1177 pthread_mutex_unlock(&rate_mutex); 1177 pthread_mutex_unlock(&rate_mutex);
1178 loop = 0;
1178 } 1179 }
1179 CONFIG &dc = *config; 1180 CONFIG &dc = *config;
1180 time_t then = dc.load_time; 1181 time_t then = dc.load_time;
1181 struct stat st; 1182 struct stat st;
1182 bool reload = false; 1183 bool reload = false;