Hi,
> Since few days , I have plenty of error message like that in my syslog !
> dmarc is enabled and send_report is also enable.
Be careful about enabling reporting- it's not particularly finished or
well-tested & there are likely bugs, though it seemed mostly working
so far in my testing.
> Dec 12 20:58:01 mail-server rspamd[378]: (normal) <omgdku>; lua;
> dmarc.lua:990: Lookup error [nil._report._
dmarc.pwnmail.fr]: query timed out
Leading "nil" here tells it's a bug.
> Any ideas ?
I'm not strongly convinced of reason for it which is troubling but I
can think of one. Maybe this patch helps:
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua
index 4a5a5be..5962644 100644
--- a/src/plugins/lua/dmarc.lua
+++ b/src/plugins/lua/dmarc.lua
@@ -1014,7 +1014,7 @@ if opts['reporting'] == true then
end
end
local t, nvdom = next(to_verify)
- if not t then
+ if not (t and nvdom) then
if next(reporting_addr) then
make_report()
else
Best,
-AL.