Mind Dump, Tech And Life Blog
written by Ivan Alenko
published under license Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)copy! share!
posted in category Systems Software / E-Mail
posted at 16. Aug '21

SPF Notes

Notes about using SPF (Sender Policy Famework).

Check SPF Policy

Checks if sender is authorized to send email from the server.

$ spfquery --scope mfrom --id trololo@myrtana.sk --ip 37.205.11.69 --helo-id starz.myrtana.sk
pass
myrtana.sk: 37.205.11.69 is authorized to use 'trololo@myrtana.sk' in 'mfrom' identity (mechanism 'mx' matched)
myrtana.sk: 37.205.11.69 is authorized to use 'trololo@myrtana.sk' in 'mfrom' identity (mechanism 'mx' matched)
Received-SPF: pass (myrtana.sk: 37.205.11.69 is authorized to use 'trololo@myrtana.sk' in 'mfrom' identity (mechanism 'mx' matched)) receiver=starz; identity=mailfrom; envelope-from="trololo@myrtana.sk"; helo=starz.myrtana.sk; client-ip=37.205.11.69

Add Comment