You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ben Lentz <bl...@channing-bete.com> on 2006/06/09 18:13:49 UTC
dumb sa-update question
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.
Re: dumb sa-update question
Posted by Theo Van Dinter <fe...@apache.org>.
On Fri, Jun 09, 2006 at 12:37:04PM -0400, Ben Lentz wrote:
> >The easiest method is to put the report_contact setting in your local.cf,
> >then
> >you don't have to care what sa-update does. :)
> Wow, a reply from the man himself!
Hehe. :)
> "I don't know, but we should probably do something." ;)
> Defining in local.cf works for me, I only wish /I'd/ thought of that.
FWIW: I think what we'll do for a short-term kluge is to take
report_contact out of the update channel, so at least there'll be the
default text ("the administrator of that system"). I'm adding in a FAQ on
the wiki page (http://wiki.apache.org/spamassassin/RuleUpdates) as well.
--
Randomly Generated Tagline:
"A CAT scan should take less time than a PET scan. For a CAT scan,
they're only looking for one thing, whereas a PET scan could result in
a lot of things." - Carl Princi, 2002/07/19
Re: dumb sa-update question
Posted by Ben Lentz <bl...@channing-bete.com>.
----- Original Message -----
*From:* Theo Van Dinter <fe...@apache.org>
*Sent:* 06/09/2006 12:27:22 PM
*To:* users@spamassassin.apache.org
*Subject:* dumb sa-update question
> On Fri, Jun 09, 2006 at 12:13:49PM -0400, Ben Lentz wrote:
>
>> 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
>>
>
> Yes. This is a known issue:
> http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4862
>
>
>> 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?
>>
>
> The easiest method is to put the report_contact setting in your local.cf, then
> you don't have to care what sa-update does. :)
>
>
Wow, a reply from the man himself!
"I don't know, but we should probably do something." ;)
Defining in local.cf works for me, I only wish /I'd/ thought of that.
Thanks!
Re: dumb sa-update question
Posted by Theo Van Dinter <fe...@apache.org>.
On Fri, Jun 09, 2006 at 12:13:49PM -0400, Ben Lentz wrote:
> 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
Yes. This is a known issue:
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4862
> 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?
The easiest method is to put the report_contact setting in your local.cf, then
you don't have to care what sa-update does. :)
--
Randomly Generated Tagline:
"Well, President Bush visited New York today. Hillary Clinton, Senator
Clinton of course, was on the Air Force One with him. One embarrasing
moment: Bush asked Hillary what it was like going from First Lady to
one of a hundred. She said: "I don't like to talk about my husband's
sex life."" - Bill Maher on Politically Incorrect, 2001.07.10