> I was wondering if there is a way to use that script, feed it's output to
> bogofilter, and then somehow FORCE bogofilter -p to tag it as spam or ham.
> (preferably as a procmail recipe)
You mean this?
:0fw
| bogofilter -eup
:0e
{ EXITCODE=75 HOST }
:0:
* ^X-Bogosity: Yes, tests=bogofilter
spamfolder