You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/06/27 17:59:09 UTC

[Bug 4433] New: blacklistfoo-untrusted does skip the first untrusted IP

http://bugzilla.spamassassin.org/show_bug.cgi?id=4433

           Summary: blacklistfoo-untrusted does skip the first untrusted IP
           Product: Spamassassin
           Version: 3.0.4
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Rules (Eval Tests)
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: mbr@freebsd.org


To avoid false positives we've changed the spamassassin blacklist 
queries to 'foo-untrusted' because we have a rather big 'trusted_networks' 
list. 
 
The manual tells me: 
 
In addition, you can test all untrusted IP addresses by placing 
'-untrusted' at the end of the set name. 
 
But apparently spamassassin does skip the first entry of the untrusted list 
which is completly wrong.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4433] blacklistfoo-untrusted does skip the first untrusted IP

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4433


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From jm@jmason.org  2005-06-27 19:26 -------
hmm, this isn't a bug.

in fact, -untrusted doesn't work that way -- it tests the untrustworthy *IP
addresses*, in other words the IPs that appeared in header lines that were added
by relays we do not trust.  That header line was added by a trusted relay, and
therefore the IP address on that line is, in fact, trusted.

I've added more documentation about this to Conf.pm.  but this isn't a bug...
what you want to do is use -firsttrusted in your rules instead.  See also
http://wiki.apache.org/spamassassin/TrustedRelays for a new, and lengthy,
discussion of this.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4433] blacklistfoo-untrusted does skip the first untrusted IP

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4433


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.1.0




------- Additional Comments From jm@jmason.org  2005-06-27 10:53 -------
that's odd.  let's try to get that in before mass-checks...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4433] blacklistfoo-untrusted does skip the first untrusted IP

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4433





------- Additional Comments From mbr@freebsd.org  2005-06-27 22:40 -------
Hi Jason,

Got the idea, So it was the documentation which was not very precise.
Thanks for fixing docu :-)




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4433] blacklistfoo-untrusted does skip the first untrusted IP

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4433





------- Additional Comments From mbr@freebsd.org  2005-06-27 09:00 -------
Created an attachment (id=2960)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=2960&action=view)
Proposed Fix




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.