Re: Same from and to

Anne Wilson <[email protected]>
Newsgroups gmane.mail.bogofilter.general
Message-ID <[email protected]>
On Wednesday 07 January 2009 15:07:36 John Culleton wrote:
> On Friday 05 December 2008 08:02:23 pm barsalou wrote:
> > I've been getting a bunch of messages that have my email address
> > and domain in the from and to fields.
> >
> > Is this an effort to confuse bogofilter?
> >
> > Bogofilter isn't currently blocking these, and I'm wondering if I
> > train it to block these, then I won't get my regular mail.
> >
> > Can anyone shed some light on this?
> >
> > If my memory serves, bogofilter does (or can) save headers as
> > tokens...one question this raises is, does it tokenize the entire
> > header or pieces within it?
> >
> > For example a 'received' header could have many servers that it
> > goes through, does it tokenize each of these lines?
> >
> > Mike B.
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> >
>
> I have a similar problem.  I already filter (with a Kmail filter) the
> output of various newsgroups so that I can exempt them from any
> policy that blocks my addresses.  I can also install a Kmail filter
> at the bottom of the stack that blocks email from any of my
> addresses, or else routes them into a special folder. But a simple
> match comparison would work better. Perhaps I will do that at the
> bottom of my stack of  Kmail filters, sending such mail to a special
> folder as I do now for html bearing code.

There does seem to have been a rash of these.  I collect such things into my 
bogotrain-spam folder, then run the following command, once I have a good 
sample (I also make sure that I have some sample ham in bogotrain-ham, 
particularly if I can find any with similar parts to the message).

bash /usr/share/bogofilter/contrib/contrib/trainbogo.sh -c -H 
/home/anne/Maildir/.INBOX.bogotrain_ham/cur/ -S 
/home/anne/Maildir/.INBOX.bogotrain_spam/cur/

(all on one line, of course).  HTH

Anne

_______________________________________________
Bogofilter mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkllACwACgkQbMErw/n0TZrYNQCggYBoXCs7IHpBzughIztneCUp
JW4AnA8s8UY2TPttrZkxhoy8GOmXCzPx
=Mp+q
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.