[spambayes-dev] Proposed fourth X-Spambayes-Classification header value

Skip Montanaro skip at pobox.com
Fri May 30 19:49:51 EDT 2003


    >> would it be possible to catch the exception and move to the next line
    >> in the header (and/or payload) for parsing?

    Alex> Alas, we're at the wrong level to do that sort of thing.  To do
    Alex> that level of granularity properly, we'd have to be in the guts of
    Alex> the parser... 

This is just a shot in the dark, but would it be possible to modify the
email parser sufficiently so that it gave more detail about where it was
when the error condition was detected (e.g., what body line number, header
and/or MIME part)?  That might allow Spambayes to tweak the message in the
right spot and retry the parse.

Skip



More information about the spambayes-dev mailing list