1
0
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:
Alberto Bertogli
2022-08-08 17:56:58 +01:00
parent 5bb17c7066
commit b779941f90
3 changed files with 2 additions and 31 deletions

2
.gitignore vendored
View File

@@ -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

View File

@@ -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

View File

@@ -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)
}