Re: bogofilter on remote host

Anne Wilson <[email protected]>
Newsgroups gmane.mail.bogofilter.general
Message-ID <[email protected]>
On Saturday 05 January 2008 20:51:37 cyph wrote:
> Hello everyone,
>
> I'm using bogofilter on a remote server to filter mails before they enter
> the user's Maildir. After retrieving the non-spam mails to my local machine
> via POP, I'd like to train the remote bogofilter with those messages
> classified as ham incorrectly. How could I do this?
>
> One idea was that the user could redirect incorrectly classified messages
> from his local machine to some special address "[email protected]" on the
> mail server, and configuring the mail server such that it pipes all
> messages arriving at this address through bogofilter -N -s.
>
> First question: Is there a more elegant solution to this? Does anyone have
> scripts etc for this purpose? On the mailserver, I'm using exim4 and
> procmail.
>
> Second question: The redirected mail which will get piped through
> bogofilter -N -s will have additional headers due to the redirection (like
> Resent-From, Resent-To, Resent-Date, Resent-Message-ID), though the
> original From, To, Subject headers remain unchanged. Does bogofilter care
> about these new/additional headers? Is there a list anywhere, which headers
> are relevant to bogofilter and which ones are ignored?
>
I asked a very similar question last month.  Matthias told me to take a look 
at contrib/trainbogo.sh.  I haven't had any mis-labelled mails since I did.  
Now I keep two directories, bogotrain_ham and bogotrain_spam.  I drag my 
Unsure messages to the relevant one.  When I have enough saved I'll run 
trainbogo.sh again against those directories.  HTH

Anne

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

iD8DBQBHgADRj93fyh4cnBcRAppCAJ9rkzwmkVDR3y/GRt3XjnbHsNgRRACZAcLJ
sh6Vs64VBf4pNlqf63y+goo=
=ooEz
-----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.