Mercurial > dnsbl
comparison src/context.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 | 797299e9fffc |
children | 4db1457cd11a |
comparison
equal
deleted
inserted
replaced
202:ae0585d64dd2 | 203:92a5c866bdfa |
---|---|
935 char buf[maxlen]; | 935 char buf[maxlen]; |
936 snprintf(buf, sizeof(buf), "Mail rejected - spam assassin score %d", score); | 936 snprintf(buf, sizeof(buf), "Mail rejected - spam assassin score %d", score); |
937 msg = string(buf); | 937 msg = string(buf); |
938 return false; | 938 return false; |
939 } | 939 } |
940 if (dcc_bulk_threshold && (bulk > dcc_bulk_threshold)) { | 940 if (dcc_bulk_threshold && (bulk >= dcc_bulk_threshold)) { |
941 char buf[maxlen]; | 941 char buf[maxlen]; |
942 snprintf(buf, sizeof(buf), "Mail rejected - dcc score %d", bulk); | 942 snprintf(buf, sizeof(buf), "Mail rejected - dcc score %d", bulk); |
943 msg = string(buf); | 943 msg = string(buf); |
944 return false; | 944 return false; |
945 } | 945 } |