bogofilter eats my spam-mails ;-(

Jason A. Smith jason-bf at jazbo.dyndns.org
Tue Feb 20 18:30:47 CET 2007


The problem is your procmail config, not bogofilter, see below:

~Jason


On Tue, 2007-02-20 at 18:05 +0100, Christian Hennig wrote:
> helo,
> 
> i use bogofilter for a long time, all is fine, but if i found a "good" mail in my spam folder i only see the headers of the mail.
> bogofilter delete the text-body of the spam mails, how can i disable thes feature?
> 
> i use bogofilter in that way for my mails:
> 
> fetchmail->procmail->-->cyrusimap
>             |  ^
>             v  |
>           bogofilter
> 
> my procmailconfig:
> 
> ---begin---
> # Macros
> DELIVERMAIL="/usr/sbin/cyrdeliver"
> LOGFILE="/var/log/procmaillog"
> 
> :0 w
> * ^Subject:.*Spamverdacht*
> | $DELIVERMAIL -e -a christian -m user.christian.RZ_Spamverdacht
> 
> :0 w
> * ^Subject:.*samba
> | $DELIVERMAIL -e -a christian -m user.christian.samba
> 
> :0 w
> * ^To:.*crater.dragonflybsd.org
> | $DELIVERMAIL -e -a christian -m user.christian.dfly
> 
> :0 w
> * ^From:.*codemasters.com
> |  $DELIVERMAIL -e -a christian -m user.christian
> # berprüfung durch Bogofilter
> #
> :0fw
> | /usr/bin/bogofilter -u -e -p -l  -d /var/bogofilter/
> 
> :0 fhw
> * ^X-Bogosity: Unsure, tests=bogofilter
> | $DELIVERMAIL -e -a christian -m user.christian.LK_Spamverdacht

The h flag tells procmail to feed ONLY the header to the delivery pipe.
You should remove this or use both h & b.  See: man procmailrc

> :0 fhw
> * ^X-Bogosity: Spam, tests=bogofilter
> | $DELIVERMAIL -e -a christian -m user.christian.LK_Spam

Same here.

> :0 w
> 
> | $DELIVERMAIL -e -a christian -m user.christian
> ---END---
> 
> Thx for help
> 
> Christian
> _______________________________________________
> Bogofilter mailing list
> Bogofilter at bogofilter.org
> http://www.bogofilter.org/mailman/listinfo/bogofilter
> 




More information about the Bogofilter mailing list