[Spambayes] pop3proxy.py

Neale Pickett neale@woozle.org
17 Sep 2002 09:13:23 -0700


So then, Richie Hindle <richie@entrian.com> is all like:

> 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-)

I reckon that's close enough.  I doubt any sorting rules will look past
the "Yes" or "No"; if someone needs that, they can use hammie :)
However, I would suggest using "No; 0.01 " instead of " No; 0.01", so
you can regex-match "^No" instead of "^ No".

^ Neale