SpamControl service, good for checking emails that aren't allowed during authentication via blacklist.
Change path to your SOCK directory: const SOCK = "/path/to/spamcontrol/spam.sock"
in main.go & sockettest.php
$ go build
$ go test -v
1.) Open two consoles in project directory
2.) Run - $ go run main.go
in 1st console
3.) Run for Unix Socket: $ socat - UNIX-CONNECT:spam.sock
in 2nd console
4.) Send test data: {"action":"url","value":"demo1@gmail.com"}
Or you can run the php script to use with a scripting language to use the service.
{make sure spam.sock file permissions are 0770 / $ chmod 0770 spam.sock}