spf-discuss
[Top] [All Lists]

Re: Re: SPF test suite

2005-08-05 10:43:59
On Fri, 5 Aug 2005, Alex van den Bogaerdt wrote:

On Fri, Aug 05, 2005 at 08:16:28AM -0400, Scott Kitterman wrote:

Also still on the To Do list is continuing to process to the end and collect
up ALL the errors.  Currently it bails after the first error.  I have yet to
negotiate with Stuart to see if pySPF can carry the impact of additional
code for this, because it isn't something that's operationally useful.  It's
only for the validator.

What about removing all processed mechanisms, including the one that
resulted in an error, and restarting the process?

Much simpler than that.  Currently, the code collects exactly one
exception for extended processing.  In validator mode, it would
collect up to N exceptions.  The Python code for this is trivial.
self.perm_error (or self.error to include TempError and AmbiguityWarnings)
becomes a list.  Currently, extended processing mode keeps evaluating, but
additional exceptions are discarded.  In production, the milter would
look only at the first exception when reporting problems to the
sender (or a DSN *could* show the entire list - I kind of like
having pymilter be an on demand SPF validator).

-- 
              Stuart D. Gathman <stuart(_at_)bmsi(_dot_)com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.


<Prev in Thread] Current Thread [Next in Thread>