[Spambayes] Forged header?

Frank Horowitz frank.horowitz at csiro.au
Thu Feb 13 13:43:25 EST 2003


On Thu, 2003-02-13 at 13:13, Tim Stone - Four Stones Expressions wrote:
> 2/12/2003 11:06:11 PM, Frank Horowitz <frank.horowitz at csiro.au> wrote:
> 
> >I guess what my question now boils down to is whether or not
> >hammiefilter *overwrites* any X-Spambayes-Classification header or
> >merely "appends" such a header to a notional list of headers. If it's
> >the former, all *should be* cool against this spoof. If it's the latter,
> >hammiefilter is vulnerable. Not true???
> 
> from hammie.py:
> 
>     def filter(self, msg, header=None, spam_cutoff=None,
>                ham_cutoff=None, debugheader=None,
>                debug=None, train=None):
> .....
>         if header == None:
>             header = options.hammie_header_name
> .....
>         del msg[header]
>         msg.add_header(header, disp)
> .....

OK, thanks. I should have "Used the source, Luke!" (but am not
particularly familiar with where things are located yet). 

I'll shut up now ;-)

	Frank





More information about the Spambayes mailing list