Greetings List,
When I run sa-update and download the new set of include-d rules, it
seems the system doesn't define a few make-style variables that /do/ get
defined when installing from CPAN. I guess the most obvious one is the
report_contact @@CONTACT_ADDRESS@@ in 10_misc.cf. To fix this, should I
just sed -i -e 's/@@CONTACT_ADDRESS@@/me/g' after each run of sa-update?
How are others fixing this?
I do have report_contact defined inside my regular ruleset in
/usr/share/spamassassin/10_misc.cf, but of course is being
overwritten/redefined when
/usr/share/spamassassin/updates_spamassassin_org.cf and subsequently
/usr/share/spamassassin/updates_spamassassin_org/10_misc.cf is loaded.
I'd just bulk move to /var/lib/spamassassin/$version/ but I've had this
break in the past and then I'd still be stuck sed-ing the 10_misc file.
So, as a safety, I'm using sa-update --updatedir /usr/share/spamassassin
and redefining everything. That way, if some of the files end up
missing, I can still run with the stock rules from the main release.
- dumb sa-update question Ben Lentz
-