From de2e5b3dc657ad28e291f43b0850ab42e0012313 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 4 Aug 2019 14:38:18 +0100 Subject: Lookups: support IPv6 addresses in the spf lookup type. Bug 2378 --- doc/doc-docbook/spec.xfpt | 7 +++++-- doc/doc-txt/NewStuff | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 32d57d027..736ac0fe4 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -40323,7 +40323,11 @@ would relax host matching rules to a broader network range. .cindex SPF "lookup expansion" .cindex lookup spf A lookup expansion is also available. It takes an email -address as the key and an IP address as the database: +address as the key and an IP address +.new +(v4 or v6) +.wen +as the database: .code ${lookup {username@domain} spf {ip.ip.ip.ip}} @@ -40331,7 +40335,6 @@ address as the key and an IP address as the database: The lookup will return the same result strings as can appear in &$spf_result$& (pass,fail,softfail,neutral,none,err_perm,err_temp). -Currently, only IPv4 addresses are supported. diff --git a/doc/doc-txt/NewStuff b/doc/doc-txt/NewStuff index a416b8c1f..bcfbe7c77 100644 --- a/doc/doc-txt/NewStuff +++ b/doc/doc-txt/NewStuff @@ -31,6 +31,8 @@ Version 4.93 9. Router variables, $r_... settable from router options and usable in routers and transports. +10. The spf lookup now supports IPv6. + Version 4.92 -------------- -- cgit v1.2.3