Thanks to visit codestin.com
Credit goes to github.com

Skip to content

iredmail/spf-to-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

What it's used for

Script spf_to_ip.sh is used to query SPF DNS record of given mail domain names and print converted IP addresses.

USAGE

Run command with the mail domain names which you want to avoid gryelisting:

$ bash spf_to_ip.sh <domain> [domain ...]

For example:

$ bash spf_to_ip.sh google.com aol.com

it will print all IP addresses converted from spf record.

Required commands:

  • dig
  • awk
  • sed
  • grep
  • head
  • tr

KNOWN ISSUES

  • not supported spf syntax:

    • ptr ptr:
    • a/24 a:/24
    • mx/24 mx:/24
    • exists:

REFERENCES

TODO

  • support spf syntax: ptr ptr:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages