Re: [sa] Re: Confused about how to use sa-update

2010-04-01 Thread Charles Gregory

On Thu, 1 Apr 2010, Phill Edwards wrote:

actually posting to the right place! Is this the official spamassassin
mailing list?


Your own spam filter might be eating a lot of the messages?
Try setting a rule to score -100 on mail received from apache.org...

- C


Confused about how to use sa-update

2010-03-31 Thread Phill Edwards
I have just found out why most of my emails have been getting tagged
as spam this year. It's because of a bug in a rule which causes this
hit to happen when it shouldn't: FH_DATE_PAST_20XXThe date is
grossly in the future. The actual file at fault is 72_active.cf which
is a spamassassin rule file and it can be fixed by getting the new
file via sa-update.

But I don't understand how to use sa-update. I've run it and I can see
all the new rule files in /var/lib/spamassassin/3.002005. However, I
think my rules run off the files in /usr/share/spamassassin/. The wiki
at http://wiki.apache.org/spamassassin/RuleUpdates#Using_sa-update
says NOT to use the --updatedir parameter to put updates in
/usr/share/spamassassin. So how exactly do you get the new rule files
into /usr/share/spamassassin so they start working? Do you just copy
them across manually, or is there a way of getting sa-update to do it
automatically?


Re: Confused about how to use sa-update

2010-03-31 Thread Karsten Bräckelmann
On Wed, 2010-03-31 at 19:15 +1100, Phill Edwards wrote:
 I have just found out why most of my emails have been getting tagged
 as spam this year. It's because of a bug in a rule which causes this
 hit to happen when it shouldn't: FH_DATE_PAST_20XXThe date is
 grossly in the future. The actual file at fault is 72_active.cf which
 is a spamassassin rule file and it can be fixed by getting the new
 file via sa-update.
 
 But I don't understand how to use sa-update. I've run it and I can see
 all the new rule files in /var/lib/spamassassin/3.002005. However, I
 think my rules run off the files in /usr/share/spamassassin/. The wiki

man spamassassin

Pay special attention to the section Configuration Files. sa-update is
doing the right thing, and spamassassin will use the update dir instead
of the base stock rules. You merely need to restart spamd, or whatever
else you are using.


 at http://wiki.apache.org/spamassassin/RuleUpdates#Using_sa-update
 says NOT to use the --updatedir parameter to put updates in
 /usr/share/spamassassin. So how exactly do you get the new rule files
 into /usr/share/spamassassin so they start working? Do you just copy
 them across manually, or is there a way of getting sa-update to do it
 automatically?

Pretty much the same answer as above. Do not move, copy or otherwise
harm those files. :)  sa-update knows, where spamassassin expects the
rules.

  guenther


-- 
char *t=\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4;
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;il;i++){ i%8? c=1:
(c=*++x); c128  (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



Re: Confused about how to use sa-update

2010-03-31 Thread Kai Schaetzl
Phill Edwards wrote on Wed, 31 Mar 2010 19:15:18 +1100:

So, you have finally found sa-update? Wow.

 So how exactly do you get the new rule files
 into /usr/share/spamassassin so they start working?

Run a debug lint and you will see that the /var/lib directory gets used 
when it contains rules. Nothing gets moved.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com





Re: Confused about how to use sa-update

2010-03-31 Thread Phill Edwards
 But I don't understand how to use sa-update. I've run it and I can see
 all the new rule files in /var/lib/spamassassin/3.002005. However, I
 think my rules run off the files in /usr/share/spamassassin/. The wiki
 at http://wiki.apache.org/spamassassin/RuleUpdates#Using_sa-update
 says NOT to use the --updatedir parameter to put updates in
 /usr/share/spamassassin. So how exactly do you get the new rule files
 into /usr/share/spamassassin so they start working? Do you just copy
 them across manually, or is there a way of getting sa-update to do it
 automatically?

OK - I've found an answer to my own question at
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6269#c41 - The
rules in /usr/share/spamassassin are not consulted if a directory
/var/lib/spamassassin/3.x exists. The sa-update only updates the
latter.

One other question I have which is more about this mailing list - is
the list actually still active? It seems to have extremely low traffic
for a product like spamassassin. And I've also found it can be quite
difficult to get replies to questions. It makes me wonder whether I'm
actually posting to the right place! Is this the official spamassassin
mailing list?


Re: Confused about how to use sa-update

2010-03-31 Thread Matt Kettler
On 3/31/2010 9:10 PM, Phill Edwards wrote:
 But I don't understand how to use sa-update. I've run it and I can see
 all the new rule files in /var/lib/spamassassin/3.002005. However, I
 think my rules run off the files in /usr/share/spamassassin/. The wiki
 at http://wiki.apache.org/spamassassin/RuleUpdates#Using_sa-update
 says NOT to use the --updatedir parameter to put updates in
 /usr/share/spamassassin. So how exactly do you get the new rule files
 into /usr/share/spamassassin so they start working? Do you just copy
 them across manually, or is there a way of getting sa-update to do it
 automatically?
 
 OK - I've found an answer to my own question at
 https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6269#c41 - The
 rules in /usr/share/spamassassin are not consulted if a directory
 /var/lib/spamassassin/3.x exists. The sa-update only updates the
 latter.

 One other question I have which is more about this mailing list - is
 the list actually still active? It seems to have extremely low traffic
 for a product like spamassassin. And I've also found it can be quite
 difficult to get replies to questions. It makes me wonder whether I'm
 actually posting to the right place! Is this the official spamassassin
 mailing list?

   
The list is definitely active. Now, is it 100 messages a minute? No..
but your original post did get two replies providing the answer, both
slightly over 2 hours after your question.




Re: Confused about how to use sa-update

2010-03-31 Thread Phill Edwards
 The list is definitely active. Now, is it 100 messages a minute? No..
 but your original post did get two replies providing the answer, both
 slightly over 2 hours after your question.

Yeah, I've subsequently found them on a Nabble list. For some reason
I'm not getting any email from this list into my Gmail mailbox. Other
mailing lists are coming through just fine, but not spamassassin. I
wondered if they'd been spammed by Gmail in some sort of delicious
twist of irony, but no. I have no idea why they're not showing up, but
am glad to hear that the list is so active!