SA Bugzilla – Bug 8062
[review] no URL makes uridnsbl rules "unrun"
Last modified: 2022-10-24 14:03:25 UTC
On sa-users list from Wolfgang Breyha: If a scanned E-Mail does not contain any URL (URIHOSTS and URIDOMAINS empty) SA4(rc3) does not mark rules using check_uridnsbl as "run" IMO. This makes meta rules depending on them "unrunable" as well. Dbg Output from an example: > Oct 14 11:51:01.140 [3032346] dbg: check: tagrun - tag URIHOSTS is now ready, value: ARY:[] > Oct 14 11:51:01.140 [3032346] dbg: check: tagrun - tag URIDOMAINS is now ready, value: ARY:[] ... > Oct 14 11:51:01.215 [3032346] dbg: rules-all: running eval rule URIBL_BLACK (check_uridnsbl) ... > Oct 14 11:51:47.392 [3032346] dbg: rules-all: unrun dependencies prevented meta SPF_PASS_SPAM from running: URIBL_BLACK
Created attachment 5846 [details] possible fix I'm currently trying attached patch. At least with my testcases it looks promising.
Created attachment 5847 [details] Fix unused rules Here's my patch so no to need hassle with ICLA.. reuses the previously unused uridnsbl_activerules variable and checks that bgsend succeeded. Vote to commit.
+1 TO COMMIT
+1 from me as well, ty this should close 7736 as well, I believe.
+1 to commit
Sending trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm Transmitting file data .done Committing transaction... Committed revision 1904811.