Issue Details (XML | Word | Printable)

Key: JAMES-566
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincenzo Gianferrari Pini
Reporter: Vincenzo Gianferrari Pini
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JAMES Server

Fastfail DNSRBL blacklisted messages are rejected even if the sender user is successfully SMTP AUTHenticated

Created: 14/Jul/06 11:17 AM   Updated: 21/Nov/07 08:31 AM  Due: 14/Jul/06
Return to search
Component/s: SMTPServer
Affects Version/s: 2.3.0
Fix Version/s: 2.3.0

Time Tracking:
Not Specified

Resolution Date: 14/Jul/06 11:46 AM


 Description  « Hide
A fastfail DNSBRL blacklisted message is rejected even if the sender user is successfully SMTP AUTHenticated.

Instead in such case the message should be accepted.

This bug is particularly critical in the scenario in which a blacklist that lists dynamic IP ranges (like "dul.dnsbl.sorbs.net") is being used, and a legitimate and SMTP AUTHenticated mail client roaming user connects from a dynamic IP and tries to send a mail to the James server. He will be rejected in such case.

BTW, just FYI, statistics on my production server show that using fastfail DNSBRL blacklists and the Bayesian mailet, about 20% of the spam gets rejected by the "dul.dnsbl.sorbs.net" list, 65% by the other James stock configuration lists, and almost all of the remaining 15% is detected (and flagged for inspection) by the Bayesian mailet. Without the "dul.dnsbl.sorbs.net" about 34% is detected and flagged by the Bayesian mailet but has to be manually inspected to avoid false positives, and 1% is undetected. So the dynamic IP criteria is very effective but, to be used, this bug has to be fixed.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #421871 Fri Jul 14 11:25:34 UTC 2006 vincenzo A fastfail DNSBRL blacklisted message is rejected even if the sender user is successfully SMTP AUTHenticated (see JAMES-566).
The correction is to a misleading long boolean expression, that already gave us a problem in the past.
Files Changed
MODIFY /james/server/trunk/src/java/org/apache/james/smtpserver/RcptCmdHandler.java

Repository Revision Date User Message
ASF #421873 Fri Jul 14 11:27:06 UTC 2006 vincenzo A fastfail DNSBRL blacklisted message is rejected even if the sender user is successfully SMTP AUTHenticated (see JAMES-566).
The correction is to a misleading long boolean expression, that already gave us a problem in the past.
Files Changed
MODIFY /james/server/branches/v2.3/src/java/org/apache/james/smtpserver/RcptCmdHandler.java

Repository Revision Date User Message
ASF #421930 Fri Jul 14 15:58:37 UTC 2006 norman Add junit test for JAMES-566.
Files Changed
MODIFY /james/server/trunk/src/test/org/apache/james/smtpserver/SMTPServerTest.java
MODIFY /james/server/trunk/src/test/org/apache/james/smtpserver/SMTPTestConfiguration.java

Repository Revision Date User Message
ASF #424567 Sat Jul 22 12:36:11 UTC 2006 norman Forget to fix JAMES-566 when copy the fastfail stuff. Also fix the junit test which was not workin
Files Changed
MODIFY /james/server/trunk/src/test/org/apache/james/smtpserver/SMTPTestConfiguration.java
MODIFY /james/server/trunk/src/java/org/apache/james/smtpserver/core/filter/fastfail/DNSRBLHandler.java