We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Going to do away with the bug report template because it'll be a pain to reproduce this with all debug info.
I found this error in the rspamd log file:
(rspamd_proxy) lua_redis_push_data: call to callback failed: /usr/share/rspamd/plugins/dmarc.lua:864: invalid argument; trace: [1]:{[C]:-1 - escape_xml [C]}; [2]:{/usr/share/rspamd/plugins/dmarc.lua:864 - xmlf [Lua]}; [3]:{/usr/share/rspamd/plugins/dmarc.lua:912 - send_report_via_email [Lua]}; [4]:{/usr/share/rspamd/plugins/dmarc.lua:990 - callback [Lua]}; [5]:{/usr/share/rspamd/lualib/lua_redis.lua:985 - <unknown> [Lua]};
(added line breaks for readability)
rspamd version 2.3.1. OS: CentOS Linux release 7.7.1908 (Core)
Domain in question: twitch.tv
twitch.tv
_dmarc.twitch.tv. 300 IN TXT "v=DMARC1; p=reject; adkim=s; aspf=s; fo=1; ri=3600; rua=mailto:twitch@rua.agari.com; ruf=mailto:twitch@ruf.agari.com"
From a quick glance at the code, it could be a type error: https://github.com/rspamd/rspamd/blob/2.3/src/plugins/lua/dmarc.lua#L1173 I wonder if the default for pct should be a string not a number. Though, don't know lua so I could be wrong on that.
pct
The text was updated successfully, but these errors were encountered:
Just scanned through some older log files
Exactly the same traceback for these domains:
_dmarc.github.com. 3261 IN TXT "v=DMARC1; p=none; rua=mailto:dmarc@github.com"
_dmarc.google.com. 300 IN TXT "v=DMARC1; p=reject; rua=mailto:mailauth-reports@google.com"
Report sent successfully for:
_dmarc.amazon.com. 900 IN TXT "v=DMARC1; p=quarantine; pct=100; rua=mailto:dmarc-reports@bounces.amazon.com; ruf=mailto:dmarc-reports@bounces.amazon.com"
Sorry, something went wrong.
Yes, it looks like this a type issue. I will fix it soon.
[Minor] Explicitly convert things to strings
9def813
Issue: #3272
Seems to be working fine on 2.4. Thanks.
No branches or pull requests
Going to do away with the bug report template because it'll be a pain to reproduce this with all debug info.
I found this error in the rspamd log file:
(added line breaks for readability)
rspamd version 2.3.1.
OS: CentOS Linux release 7.7.1908 (Core)
Domain in question:
twitch.tv
From a quick glance at the code, it could be a type error:
https://github.com/rspamd/rspamd/blob/2.3/src/plugins/lua/dmarc.lua#L1173
I wonder if the default for
pct
should be a string not a number. Though, don't know lua so I could be wrong on that.The text was updated successfully, but these errors were encountered: