OpenMacNews wrote: > hi all, > > i've SA 310dev (r366568) newly updated on OSX 10.4.3. >
> > now, however, RDJ's diagnostic --lint fails with: > > > [368] warn: config: cannot open /usr/share/spamassassin/user_prefs.template: > No such file or > directory > [368] warn: config: failed to create default user preference file > /var/root/.spamassassin/user_prefs > [368] warn: config: warning: score set for non-existent rule BAYES_50 > > but, a subsequent: > > spamassassin --lint \ > --debug \ > --siteconfigpath=/var/MailServer/Conf/SA/Dist \ > --configpath=/var/MailServer/Conf/SA/Local \ > --prefs-file=local.cf \ > --nocreate-prefs > > > shows no errors ... in fact running/scoring tests for rules declared missing, > e.g. BAYES_40: > > ... > [3457] dbg: check: is spam? score=4.891 required=4 > [3457] dbg: check: > tests=BAYES_40,DCC_CHECK,MISSING_SUBJECT,NO_REAL_NAME,NO_RECEIVED,NO_RELAYS,TO_CC_NONE > [3457] dbg: check: > subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID > ... > > is this an RDJ or SA issue? Well, RDJ is probably running spamassassin --lint. No --siteconfigpath, no --configpath, because those are rare things to do. Most of us run with our config files in directories that SA can auto-detect. (ie: /usr/share/spamassassin for config and /etc/mail/spamassassin for siteconfig) --configpath is extraordinarily rare to use unless you're a developer. You'll probably have to hack RDJ to use those paths, if that's where your real rulesets are.. (although I do wonder why they are there..)