info about spam messages

Tayfun ASKER tasker at metu.edu.tr
Fri Jun 11 14:55:58 CEST 2004


hi eric,
  header parsing is the way i'm using to get the info from the spam 
mails. it would be much much easier and efficient to get the same info 
from log files.

thank you.

Tayfun


Eric Wood wrote:
> ----- Original Message ----- 
> From: "Tayfun ASKER"
> 
>>My question : is it possible to obtain header information of spam
>>messages from bogofilter. when i call bogofilter as "bogofilter -l", it
>>adds a single line to the syetem log. but that single line does not
>>contain any useful information about tagged message.
> 
> 
> bogofilter can add a X-Bogosity header to all emails:
> 
> :0fw
> * < 20000
> | bogofilter -u -e -p
> 
> :0e
> { EXITCODE=75 HOST }
> 
> then the very next rule you can test for that header and perform and action
> (such as modifying /etc/mail/access):
> 
> :0c
> * ^X-Bogosity: Yes
> | alter_access
> 
> The 'c' means copy and process with all the other procmail stuff and maybe
> deliver as usual.  alter_access is some script you'll have to write to parse
> out the header stuff you want to use.
> 
> Most of the above is in the manpage of bogofilter.
> 
> -eric wood
> 
> _______________________________________________
> Bogofilter mailing list
> Bogofilter at bogofilter.org
> http://www.bogofilter.org/mailman/listinfo/bogofilter
> 





More information about the Bogofilter mailing list