Spf3

Latest version: v2.0.17

Safety actively analyzes 723650 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 5

1.3.1

* Forgot to include new test file in distribution.
* Forgot CHANGELOG in distribution.

1.3

* Add %{o} (original sender domain) macro
* The ./spf.py {spf} {ipaddr} {sender} {helo} command line didn't print
out the results. Oops.
* Support default= so Meng's test 6 'v=spf1 default=deny' works
* Any IP address '127.*.*.*' automatically pass, so all Meng's tests work
* Follow DNS CNAMES
* Cache DNS results, including additional info, reducing DNS query load
* Support Python 2.2 (doesn't have bool, True, False: those are
added in Python 2.2.1)

1.2

* Added exp= (explanation) and redirect= modifiers
* Added macros

1.1

* Meng Weng Wong added PTR code, THANK YOU

1.0

* Initial Version

0.6.9

Revision 1.9 2004/04/18 03:29:35 stuart
Pass most tests except -local and -rcpt-to

Revision 1.8 2004/04/17 22:17:55 stuart
Header comment method.

Revision 1.7 2004/04/17 18:22:48 stuart
Support default explanation.

Revision 1.6 2004/04/06 20:18:02 stuart
Fix bug in include

Revision 1.5 2004/04/05 22:29:46 stuart
SPF best_guess

Revision 1.4 2004/03/25 03:27:34 stuart
Support delegation of SPF records.

Revision 1.3 2004/03/13 12:23:23 stuart
Expanded result codes. Tolerate common method misspellings.

Development taken over by Stuart Gathman <stuartbmsi.com>

18-dec-2003, v1.6, Failures on Intel hardware: endianness. Use ! on
struct.pack(), struct.unpack().
17-dec-2003, v1.5, ttw use socket.inet_aton() instead of DNS.addr2bin, so
n, n.n, and n.n.n forms for IPv4 addresses work, and to
ditch the annoying Python 2.4 FutureWarning
13-dec-2003, v1.3, ttw added %{o} original domain macro,
print spf result on command line, support default=,
support localhost, follow DNS CNAMEs, cache DNS results
during query, support Python 2.2 for Mac OS X
16-dec-2003, v1.4, ttw fixed include handling (include is a mechanism,
complete with status results, so -include: should work.
Expand macros AFTER looking for status characters ?-+
so altavista.com SPF records work.
11-dec-2003, v1.2, ttw added macro expansion, exp=, and redirect=
9-dec-2003, v1.1, Meng Weng Wong added PTR code, THANK YOU

Page 5 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.