Re: [Exim] Bogofilter and Exim

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: David Relson
Data:  
Para: Karl Schmidt
CC: Konstantin Starodubtsev, bogofilter, exim-users
Asunto: Re: [Exim] Bogofilter and Exim
At 05:55 PM 12/30/02, Karl Schmidt wrote:

>A couple of things here
>
>What prevents a spammer from adding a x-bogosity header that makes it look
>as if it is not spam? Or if someone forgot to put
>
>domain = +local_domains
>
>in the router and sent filtered and thus x-bogosity headered mail out?
>
>
>- bogofilter replaces the x-bogosity header with the -p switch.
>
>Is there a simple way to remove the header on mail coming from the outside?


When run to classify spam, bogofilter has essentially to forms of
output. In one, the program return code indicates the spam/non-spam
classification. The return code can be tested using
procmail. Alternatively, the passthrough mode can be used to copy the
message from stdin to stdout with removal of pre-existing X-Bogosity header
lines and addition of an X-Bogosity header showing whether bogofilter
thinks the message is spam or not.

As an alternate answer to your question, "grep -v ^X-Bogosity" will delete
any lines starting with X-Bogosity. Have you looked to see what formail
can do? It's quite capablee.

David