Skip to content

SpamControl will check for bad emails via a blacklist

Notifications You must be signed in to change notification settings

trafficinc/SpamControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
Jun 11, 2020
Jun 11, 2020
Jun 11, 2020
Jun 11, 2020
Jun 11, 2020
Jun 11, 2020

Repository files navigation

SpamControl

SpamControl service, good for checking emails that aren't allowed during authentication via blacklist.

Start

Change path to your SOCK directory: const SOCK = "/path/to/spamcontrol/spam.sock" in main.go & sockettest.php

to build

$ go build

test

$ go test -v

Usage

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}

About

SpamControl will check for bad emails via a blacklist

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published