mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
Remove spf-check debugging tool
The spf-check debugging tool is quite primitive, rarely (if ever) used, not tested, and has been superceded by the one in the spf library (https://blitiri.com.ar/git/r/spf/b/master/t/cmd/spf-check/f=spf-check.go.html). This patch removes it.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -11,12 +11,10 @@
|
||||
/chasquid
|
||||
/chasquid-util
|
||||
/smtp-check
|
||||
/spf-check
|
||||
/mda-lmtp
|
||||
/dovecot-auth-cli
|
||||
cmd/chasquid-util/chasquid-util
|
||||
cmd/smtp-check/smtp-check
|
||||
cmd/spf-check/spf-check
|
||||
cmd/mda-lmtp/mda-lmtp
|
||||
cmd/dovecot-auth-cli/dovecot-auth-cli
|
||||
test/util/minidns
|
||||
|
||||
7
Makefile
7
Makefile
@@ -11,7 +11,7 @@ endif
|
||||
|
||||
default: chasquid
|
||||
|
||||
all: chasquid chasquid-util smtp-check spf-check mda-lmtp dovecot-auth-cli
|
||||
all: chasquid chasquid-util smtp-check mda-lmtp dovecot-auth-cli
|
||||
|
||||
|
||||
chasquid:
|
||||
@@ -27,9 +27,6 @@ chasquid-util:
|
||||
smtp-check:
|
||||
go build ${GOFLAGS} ./cmd/smtp-check/
|
||||
|
||||
spf-check:
|
||||
go build ${GOFLAGS} ./cmd/spf-check/
|
||||
|
||||
mda-lmtp:
|
||||
go build ${GOFLAGS} ./cmd/mda-lmtp/
|
||||
|
||||
@@ -60,4 +57,4 @@ install-config-skeleton:
|
||||
|
||||
|
||||
.PHONY: chasquid test \
|
||||
chasquid-util smtp-check spf-check mda-lmtp dovecot-auth-cli
|
||||
chasquid-util smtp-check mda-lmtp dovecot-auth-cli
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
// Command line tool for playing with the SPF library.
|
||||
//
|
||||
// Not for use in production, just development and experimentation.
|
||||
//go:build !coverage
|
||||
// +build !coverage
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"net"
|
||||
|
||||
"blitiri.com.ar/go/spf"
|
||||
)
|
||||
|
||||
func main() {
|
||||
flag.Parse()
|
||||
|
||||
r, err := spf.CheckHostWithSender(
|
||||
net.ParseIP(flag.Arg(0)), "", flag.Arg(1))
|
||||
fmt.Println(r)
|
||||
fmt.Println(err)
|
||||
}
|
||||
Reference in New Issue
Block a user