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





------- Additional Comments From [EMAIL PROTECTED]  2007-03-08 13:54 -------
Created an attachment (id=3879)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3879&action=view)
Add trusted_host option

The code we use that overwrites existing SA methods to add trusted_host

Unfortunately Mail::SpamAssassin::Message::Metadata::parse_received_headers
doesn't really provide a way to easily hook in a new trust system, so I had to
reproduce the whole function with really just a small change, these lines:

    # trusted_networks matches?
    if ($in_trusted && $did_user_specify_trust && !$self->is_trusted($relay,
$trusted))
    {
      $in_trusted = 0;          # we're in deep water now
    }

It would be nice to actually change parse_received_headers so there are more
"hook" places people could get into if they want to change the overall
algorithm in the future as well...



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

Reply via email to