commit 5ef7222: [Test] spf.lua fix example of external relay

korgoth1 vladislav.stakhov at gmail.com
Sun Jan 26 09:28:06 UTC 2020


Author: korgoth1
Date: 2020-01-25 22:44:49 +0300
URL: https://github.com/rspamd/rspamd/commit/5ef72228d5718a0be6b14c62b47bed14ac913de9 (refs/pull/3238/head)

[Test] spf.lua fix example of external relay

---
 src/plugins/lua/spf.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/spf.lua b/src/plugins/lua/spf.lua
index d6949cd76..80d1e664d 100644
--- a/src/plugins/lua/spf.lua
+++ b/src/plugins/lua/spf.lua
@@ -42,7 +42,7 @@ spf {
   # Disable all IPv6 lookups
   disable_ipv6 = false;
   # Use IP address from a received header produced by this relay (using by attribute)
-  external_relay = "192.168.1.1";
+  external_relay = ["192.168.1.1"];
 }
   ]])
   return


More information about the Commits mailing list