spfqtool1
Command-line spf query tool
Usage
spfqtool [-b
0,1]
[-d
x]
[-e
0,1]
[-h
host]
[-i
addr]
[-s
email]
[-t
0,1]
[-v]
Overview
This manual page documents briefly the spfqtool command.
This manual page was written for the Debian distribution because the original program does not have a manual page.
The spfqtool can be used to test SPF ("Sender Policy Framework") policies. It takes a sender and a recipient email, a source IP address and an SMTP HELO name. Using the SPF policy announced by the sender's email address domain, the tool shows whether an email with the two correspondents would be allowed to originate from the given IP address.
Options
This program follows the usual GNU command line syntax. A summary of options is included below.
-
-b 0,1 -
Enable Best Guess support (True (0) or False (1)).
-
-d x -
DEBUG where x is a number between 1 and 255.
-
-e 0,1 -
Enable SPF explanation (True (0) or False (1)).
-
-h host -
HELO hostname to test with.
-
-i addr -
IP Address where the fake connection will come from.
-
-s email -
What email address to test with.
-
-t 0,1 -
Enable Trusted Forwarder support (True (0) or False (1)).
-
-v -
Display version string.
Note:
Minimum required arguments are 'i', and 's'.
Example: spfqtool -i 10.0.0.2 -s [email protected] -h spftools.net
History
- Debian 6.0 (Squeeze): the text shown here
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)