New Option - '-u' for update

Boris 'pi' Piwinger 3.14 at logic.univie.ac.at
Sat Oct 5 23:25:51 CEST 2002


David Relson <relson at osagesoftware.com> wrote:

>>Would it be possible to make it:
>>:0HB:
>>* ? bogofilter -u
>>spam
>
>Would you care to test it for me?

WFM, I tested with the following recipe (quoted to prevent
line breaking):

:LOCKFILE=tmp/y
:FOO=`bogoutil -d ~/.bogofilter/spamlist.db |grep MSG_COUNT >>/home/3.14/.procmail/bogofilter.log`
:FOO=`bogoutil -d ~/.bogofilter/goodlist.db |grep MSG_COUNT >>/home/3.14/.procmail/bogofilter.log`
:LOGABSTRACT=ALL
:LOGFILE=bogofilter.log
::0HB
:* ? bogofilter -u
:{
:  FOO=`bogoutil -d ~/.bogofilter/spamlist.db |grep MSG_COUNT >>/home/3.14/.procmail/bogofilter.log`
:  FOO=`bogoutil -d ~/.bogofilter/goodlist.db |grep MSG_COUNT >>/home/3.14/.procmail/bogofilter.log`
:  FOO=`echo "---" >>/home/3.14/.procmail/bogofilter.log`
:  LOCKFILE=
:  :0:
:  bad
:}
:FOO=`bogoutil -d ~/.bogofilter/spamlist.db |grep MSG_COUNT >>/home/3.14/.procmail/bogofilter.log`
:FOO=`bogoutil -d ~/.bogofilter/goodlist.db |grep MSG_COUNT >>/home/3.14/.procmail/bogofilter.log`
:FOO=`echo "---" >>/home/3.14/.procmail/bogofilter.log`
:LOCKFILE=
:LOGFILE=procmail.log
:LOGABSTRACT=NO

pi

For summay digest subscription: bogofilter-digest-subscribe at aotto.com



More information about the Bogofilter mailing list