spfquery

Query Sender Policy Framework records to validate e-mail senders. More information: <https://www.libspf2.org/>.

Install

All systems
curl cmd.cat/spfquery.sh
Arch Arch Linux
pacman -S perl-mail-spf-query

Query Sender Policy Framework records to validate e-mail senders. More information: <https://www.libspf2.org/>.

  • Check if an IP address is allowed to send an e-mail from the specified e-mail address:
    spfquery -ip 8.8.8.8 -sender [email protected]
  • Turn on debugging output:
    spfquery -ip 8.8.8.8 -sender [email protected] --debug

© tl;dr; authors and contributors