http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4728





------- Additional Comments From [EMAIL PROTECTED]  2005-12-10 00:31 -------
No it's "-firsttrusted" or "-untrusted".  I'm using it for now since it does
work in the case that you don't trust anyone else (which I really don't think
you should) and the mail is delivered to your MX and not your MSA (in which case
you get into that trusted but not internal crap -- SPF has similar issues bug 
4661).


    # If name is foo-firsttrusted, check only the Received header just
    # after it enters our trusted networks; that's the only one we can
    # trust the IP address from (since our relay added that header).
    # And if name is foo-untrusted, check any untrusted IP address.
    elsif ($set =~ /-(first|un)trusted$/)
    {
      my @tips = ();
      foreach my $ip (@originating) {
        if ($ip && !$trusted->contains_ip($ip)) {
          push(@tips, $ip);
        }
      }
      @ips = $self->ip_list_uniq_and_strip_private (@ips, @tips);
      if ($1 eq "first") {
        @ips = (defined $ips[0]) ? ($ips[0]) : ();
      } else {
        shift @ips;
      }
    }



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

Reply via email to