[Spambayes] pop3proxy.py

Tim Peters tim.one@comcast.net
Tue, 17 Sep 2002 12:38:13 -0400


[Richie Hindle]
> I'd like to use the same header, but there's one problem: POP3 lets you
> ask for the size of a message, so pop3proxy needs to add on the length of
> the header before it's seen the message.  But X-Hammie-Disposition is
> variable-length...  We could make the 'clues' section of the header
> optional, so that pop3proxy adds "X-Hammie-Disposition: Yes; 0.99" or
> "X-Hammie-Disposition:  No; 0.99" [note the extra space, yuck].  Is that
> close enough to "formatted the same"?  I'd vote yes - "practicality beats
> purity" 8-)

Note that the "probabilities" computed by this scheme are almost always very
near 1.0 or very near 0.0.  For that reason, I believe adding 0.99 (etc)
does no good and may mislead.  "spam" and "nyet" have the same # of letters
<wink>.