HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

spfquery — Query Sender Policy Framework records to validate e-mail senders. More information: <https://manned.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandrecordsframeworkcliquerypolicysenderspfquery

Problem

How to use the spfquery command: Query Sender Policy Framework records to validate e-mail senders. More information: <https://manned.org/spfquery>.

Solution

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

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 {{sender@example.com}}


Turn on debugging output:
spfquery -ip {{8.8.8.8}} -sender {{sender@example.com}} --debug

Code Snippets

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 {{sender@example.com}}

Turn on debugging output

spfquery -ip {{8.8.8.8}} -sender {{sender@example.com}} --debug

Context

tldr-pages: common/spfquery

Revisions (0)

No revisions yet.