It would be nice to have the filtering engine as a
shared library that can be used in other programs.
I have seen that bogofilter already uses a library that
is staticly linked into the binary. But as far as i
could see command line parameters are passed down into
the library. For embedding into other programs it would
be better to parse parameters in the tool and call
library functions to set options. A simple interface
that scans files and returns the spam status would be nice.
Log in to post a comment.