Golang SpamAssassin Client Library and Commandline tool
spamd-client is a Golang library and cmdline tool that implements the SPAMD client protocol used by SpamAssassin.
- Golang 1.15.x or higher
- Pflag - github.com/spf13/pflag
The spamd-client client can be installed as follows
$ go get github.com/baruwa-enterprise/spamd-client/cmd/spamd-client
Or by cloning the repo and then running
$ make build
$ ./bin/spamd-client
You can import the library in your code
import "github.com/baruwa-enterprise/spamd-client/pkg"
make test
MPL-2.0