-u and unsure

Dustin Butler dustin at intrcomm.net
Tue Jan 11 18:09:49 CET 2005


Used the following procmail rule which seems to work fine.  Thanks!

:0fw
| bogofilter -p -u -e -d /var/spool/bogofilter

:0HB:
* ^X-Bogosity: (Spam|Yes)
| $DELIVERMAIL -a $LOGNAME -m "user/$LOGNAME/Spam"

:0HB:
* ^X-Bogosity: Unsure
{
        :0fw
        | bogofilter -p -e -n -d /var/spool/bogofilter
}

:0w
| $DELIVERMAIL -e -r $RPATH $LOGNAME

----- Original Message ----- 
From: "Dustin Butler" <dustin at intrcomm.net>
> Is there a way to use -u but have unsure still registered as ham? The mail 
> client I'm using allows for registration and un-registration.  BUT unsure 
> email still goes to INBOX, if it IS spam the user will register with runs 
> a -Ns, if it's not I would like it to have been registered as ham.

Try a procmail recipe, something like this:

:0fw
| /usr/bin/bogofilter -uep

:0:

* ^X-Bogosity:.Unsure
| /usr/bin/bogofilter -n

Tom


_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter





More information about the Bogofilter mailing list