On Sun, Apr 25, 2021 at 07:38:44PM +0300, Henrik K wrote: > On Sun, Apr 25, 2021 at 12:17:51PM -0400, Steve Dondley wrote: > > I'm running this command: > > > > ./mass-check -n --rules='^LOCAL_AWK_INTRO' -o ham:dir:/spam/Maildir/.INBOX* > > -c=/etc/spamassassin/ | grep '. 1' > > > > > > Everything appears to work as expected but I'm getting this warning/error > > when I do: > > > > "config: registryboundaries: no tlds defined, need to run sa-update" > > > > Running sa-update doesn't fix the problem and a search didn't uncover > > anything useful. > > mass-check -c parameter expects to find every config file in that single > directory. Now it's missing spamassassin updates and specifically > 20_aux_tlds.cf from there. You could copy it to /etc/spamassassin > temporarily, but I'd rather make a completely separate directory that should > include only the relevant *.pre and *.cf files you need for the scan.
Oh yeah and actually you should never use -c=/etc/spamassassin, as the mass-check can then potentially then trash your AWL/bayes etc since it's using your main config.. Sorry, it's more of a developer tool and I know the wiki guides are terribly outdated. :-)