SA Bugzilla – Bug 6720
72_active.cf lacks ifplugin for spamhaus DNSBL rule
Last modified: 2013-01-20 17:40:27 UTC
Created attachment 5017 [details] Patch for 72_active.cf I keep failing initial sa-update (fresh installation) with all plugins disabled, with the following error message: config: failed to parse line, skipping, in "/tmp/.spamassassin159920p2UgPtmp/72_active.cf": uridnsbl URIBL_SBL_A sbl.spamhaus.org. A channel: lint check of update failed, channel failed Uncommenting the following line in local.cf fixes the error: loadplugin Mail::SpamAssassin::Plugin::URIDNSBL An investigation shows that the URIBL_SBL_A rule (for spamhaus) has no "ifplugin...endif" around it, when compared to the URIBL_RHS_DOB rule just preceding it. Attached is a patch (tested -- no more lint check failure) that I whup up to fix this issue.
(In reply to comment #0) > Created attachment 5017 [details] > Patch for 72_active.cf > > I keep failing initial sa-update (fresh installation) with all plugins > disabled, with the following error message: > > config: failed to parse line, skipping, in > "/tmp/.spamassassin159920p2UgPtmp/72_active.cf": uridnsbl URIBL_SBL_A > sbl.spamhaus.org. A > channel: lint check of update failed, channel failed > > Uncommenting the following line in local.cf fixes the error: > > loadplugin Mail::SpamAssassin::Plugin::URIDNSBL > > An investigation shows that the URIBL_SBL_A rule (for spamhaus) has no > "ifplugin...endif" around it, when compared to the URIBL_RHS_DOB rule just > preceding it. > > Attached is a patch (tested -- no more lint check failure) that I whup up to > fix this issue. next sa-update run should fix this
> next sa-update run should fix this Hmm, I am worried that this isn't complete enough. The type was added only in 3.4.0 aka trunk. You need to add a version block as well. if (version >= 3.200000) endif
(In reply to comment #2) > > next sa-update run should fix this > > Hmm, I am worried that this isn't complete enough. The type was added only in > 3.4.0 aka trunk. You need to add a version block as well. > > if (version >= 3.200000) > > endif had set: tflags URIBL_SBL_A net a nopublish so far I see no value in this rule... total overlap with URIBL_SBL am watcing on trap boxes...
Resolved.