Skip to content

baruwa-enterprise/spamd-client

Repository files navigation

spamd-client

Golang SpamAssassin Client Library and Commandline tool

Ci codecov Go Report Card Go Reference MPLv2 License

Description

spamd-client is a Golang library and cmdline tool that implements the SPAMD client protocol used by SpamAssassin.

Requirements

  • Golang 1.15.x or higher
  • Pflag - github.com/spf13/pflag

Getting started

spamd-client client

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

spamd-client library

You can import the library in your code

import "github.com/baruwa-enterprise/spamd-client/pkg"

Testing

make test

License

MPL-2.0