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





------- Additional Comments From [EMAIL PROTECTED]  2004-12-05 21:11 -------
Created an attachment (id=2549)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=2549&action=view)
Method and rules to check EnvelopeFrom and source IP for Accreditor

This patch adds support for Habeas accreditation. This mechanism uses a flag in
the EnvelopeFrom that triggers a DNS whitelist query. The check of the Envelope
>From is only an optimization at this point; it allows SpamAssassin to avoid
making an unnecessary DNS query. In the future this flag will be use to select
among multiple accreditation services.

The new DNS whitelist zone, accredit.habeas.com, returns a code in the final
octet that indicates the "accreditation level" for the sender. Legal values
range from 1 to 99, although for the near term Habeas will only be using the
discrete values 10, 20, 30, 40, and 50. Explanations of these are in the
comments added to the rules, below.

The patch does the following:

   * Add a new function that checks for a "reputation tag" in the
     Envelope From address of the form "a--accreditor", and
     extracts the accreditor. Note that this function is not specific
     to Habeas.

   * Add a new Evaluation Test that looks up the sender's address in a
     DNSWL if a specified "accreditor" is present in the Envelope
     From address. This function is also not specific to Habeas.

   * Added code to disable the test for the Habeas Haiku if an
     accreditor is present. This prevents folks from sending both the
     Haiku and the accreditor, and getting a bonus of -16.

   * Define three new rulesets that use the above functions to query
     the DNSWL sa-accredit.habeas.com if "a--habeas" is in the
     Envelope From. The ruleset defines the accreditor and the DNSWL to
     query.

   * Add the -firsttrusted to the existing HABEAS_USER rule. This
     should have been set all along; that was an oversight on our part.

   * Add more comments to Habeas additions in general.




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

Reply via email to