---
name: "spfqtool"
section: "1"
platform: "linux"
package: "spfqtool"
version: "0.999-1.0.0-p3.dfsg-3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/spfqtool"
---

# spfqtool(1)

command-line SPF query tool

## NAME

spfqtool — command-line SPF query tool

## SYNOPSIS

**spfqtool** \[**-b** *0,1*\]  \[**-d** *x*\]  \[**-e** *0,1*\]  \[**-h** *host*\]  \[**-i** *addr*\]  \[**-s** *email*\]  \[**-t** *0,1*\]  \[**-v**\]

## DESCRIPTION

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 jcouzens@6o4.ca -h spftools.net**

## SEE ALSO

**http://libspf.org/**

## AUTHOR

**This manual page was written by Mattias Nordstrom nordstrom@realnode.com for**  **the Debian system (but may be used by others).  Permission is**  **granted to copy, distribute and/or modify this document under**  **the terms of the GNU General Public License, Version 2 any**   **later version published by the Free Software Foundation.**

**On Debian systems, the complete text of the GNU General Public**  **License can be found in /usr/share/common-licenses/GPL.**
