http://bugzilla.spamassassin.org/show_bug.cgi?id=4459
Summary: RCVD_ILLEGAL_IP includes valid IPs
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Rules (Eval Tests)
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Checking for FPs in the 3.1 score run, I found a few ham hits for this rule.
4.668 5.0251 0.0121 0.998 0.89 1.33 RCVD_ILLEGAL_IP
Looking at the code:
return 1 if ($check =~ /^(?:
(?:[01257]|22[3-9]|23[0-9]|24[0-9]|25[0-5])\.\d+\.\d+\.\d+|
127\.[1-9]\.\d+\.\d+|
127\.0\.[1-9]\.\d+|
127\.0\.0\.(?:\d\d+|[2-9])
)$/x);
These are all valid IPs, but the ones that are FPing are the 127 ones... 127/8
is a valid range for
"localhost" addresses, so I'm not sure why they're "illegal".
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.