https://github.com/baruwa-enterprise/spamd-client
Golang SpamAssassin Client Library and Commandline tool
https://github.com/baruwa-enterprise/spamd-client
anti-spam antispam go go-spamassassin go-spamc go-spamd go-spamd-client golang golang-spamassassin golang-spamc spamassassin spamc spamc-client spamd spamd-client spamd-protocol
Last synced: 6 months ago
JSON representation
Golang SpamAssassin Client Library and Commandline tool
- Host: GitHub
- URL: https://github.com/baruwa-enterprise/spamd-client
- Owner: baruwa-enterprise
- License: mpl-2.0
- Created: 2018-07-11T11:17:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-01T07:25:18.000Z (over 4 years ago)
- Last Synced: 2024-06-19T04:02:27.780Z (about 2 years ago)
- Topics: anti-spam, antispam, go, go-spamassassin, go-spamc, go-spamd, go-spamd-client, golang, golang-spamassassin, golang-spamc, spamassassin, spamc, spamc-client, spamd, spamd-client, spamd-protocol
- Language: Go
- Homepage: https://www.baruwa.com
- Size: 41.1 MB
- Stars: 10
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# spamd-client
Golang SpamAssassin Client Library and Commandline tool
[](https://github.com/baruwa-enterprise/spamd-client/actions?query=workflow%3ACi)
[](https://codecov.io/gh/baruwa-enterprise/spamd-client)
[](https://goreportcard.com/report/github.com/baruwa-enterprise/spamd-client)
[](https://pkg.go.dev/github.com/baruwa-enterprise/spamd-client)
[](https://www.mozilla.org/MPL/2.0/)
## 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
```console
$ go get github.com/baruwa-enterprise/spamd-client/cmd/spamd-client
```
Or by cloning the repo and then running
```console
$ make build
$ ./bin/spamd-client
```
### spamd-client library
You can import the library in your code
```golang
import "github.com/baruwa-enterprise/spamd-client/pkg"
```
### Testing
``make test``
## License
MPL-2.0