Recent changes to 6: -p batch mode patchhttp://sourceforge.net/p/bogofilter/patches/6/Recent changes to 6: -p batch mode patchenWed, 04 Dec 2002 17:02:11 -0000-p batch mode patchhttp://sourceforge.net/p/bogofilter/patches/6/<div class="markdown_content"><p>This patch allows bogofilter to process multiple<br />
messages in -p mode. I haven't tested it in -u mode,<br />
but since it goes through all the DB access routines<br />
for each message, it should work. It's a quick hack,<br />
and I haven't thought any implications so use at your<br />
own risk. The patch makes two changes:</p>
<p>bogofilter() takes a boolean pointer to return the<br />
continuation bool from collect_words, and main wraps<br />
everything after initialization in a do while loop.</p>
<p>lexer.l provides a reset function that clears out the<br />
textblock list is maintains to output the original<br />
message. The prevents the messages from piling up and<br />
being output multiple times.</p>
<p>The patch is against bogofilter-0_9_1 checked out of CVS.</p></div>Mike TillbergWed, 04 Dec 2002 17:02:11 -0000http://sourceforge.netae15ff5da72c698612fe0628699b83765dea8e76