You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Wolfgang Breyha <sa...@blafasel.at> on 2022/10/14 09:55:35 UTC

SA4rc3: no URL makes uridnsbl rules "unrun"

Hi!

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

Greetings, Wolfgang

Re: SA4rc3: no URL makes uridnsbl rules "unrun"

Posted by Henrik K <he...@hege.li>.
On Fri, Oct 14, 2022 at 11:55:35AM +0200, Wolfgang Breyha wrote:
> Hi!
> 
> 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
> 
> Greetings, Wolfgang

Thanks, good catch, I opened a bug:

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8062

These have been a bit backlogged on my end, but should be able to look this
weekend or next week..