Re: rules_du_jour not working confusion?

2006-12-07 Thread Daryl C. W. O'Shea

Alan Munday wrote:

Daryl C. W. O'Shea wrote the following on 06/12/2006 17:31:


Is a migration document really necessary?  Stop using the rule files 
you got via RDJ that you now want to get with sa-update.  Start using 
sa-update for those rule files.  Have some lunch.


Agreed - I do like to lunch. Though the last time I counted there are 26 
rulesets on the SARE site but only 20 on your channels page.


I don't have a channels page.  I will in the future, but it's way down 
the list of things to do.


My howto says:

  Channels names are created by prepending the .cf file name found on
  the SARE site (http://www.rulesemporium.com/rules.htm) to
  .sare.sa-update.dostech.net.

It has no mention of there only being a subset of the rules available. 
They're all there, even some old ones that aren't listed on the rules 
page anymore.  The current count is one hundred (100) channels, some of 
which are pretty much useless though, as they're rules for old versions 
of SA.


If you want to confirm I have a ruleset, either check DNS, or do what a 
good 75% of the people currently using the channels have done and check 
out the index of the directory housing all the channels:


http://daryl.dostech.ca/sa-update/sare/


A migration document which covers why this is the case and what to do 
about the other rulesets covered by RDJ or there status as they are 
added to the number of rulesets that can be updated via sa-update may be 
very useful.


As a said before, the only channels that aren't currently provided are 
ones for Bill Stearns rules and I think at least some of those are used 
for input to SURBL anyway.


So:
 - it's not really the case
 - new SARE rulesets are added immediately (as in less than 5 minutes)


Feel free, though, to edit the SpamAssassin wiki to improve the 
documentation there as you see fit.  This and my last two emails to this 
thread should have all the necessary info.



Daryl


Re: rules_du_jour not working confusion?

2006-12-07 Thread Matt Kettler
Daryl C. W. O'Shea wrote:

 [EMAIL PROTECTED] dos]$ grep  CF_URLS\[ rules_du_jour | grep -v 
 RULESEMPORIUM

 CF_URLS[7]=http://mywebpages.comcast.net/mkettler/sa/antidrug.cf;


 antidrug.cf isn't being updated ever again and it's not for use with
 SA 3.x or later (which excludes it's usefulness with sa-update).
*AND*

Antidrug.cf does NOT live of comcast.net anymore. I announced it's new
home well over a month ago.

I'll be posting a file that will cause errors in your config if you
download it from the comcast site RealSoonNow, because eventually I'm
going to cancel that account. After I cancel it, I can't ensure that it
won't be taken over by someone malicious, so I really think it's best to
ensure folks stop downloading that file ASAP.

http://mysite.verizon.net/mkettler_sa/antidrug.cf



Re: rules_du_jour not working confusion?

2006-12-06 Thread Alan Munday

Daryl C. W. O'Shea wrote the following on 06/12/2006 00:31:


Advantage over sa-update?  Other than the issue with 3.1.6 (only), there 
shouldn't be any issues with how sa-update lints rules. 


This is not obvious as there is no mention of linting in the docs http://spamassassin.apache.org/full/3.1.x/doc/sa-update.html 

If so is there a migration guide somewhere on moving from RDJ to 
sa-update?


- remove existing SARE rules from wherever you've got them
- decide on which provider of the SARE channel(s) you're going to use
- follow that providers directions


And while there is good information on using sa-update for SARE rules, there 
don't appear to be any references on how-to migrate to it from RDJ.

The only other thing (AFAIK) that would hold someone from moving is that RDJ 
still covers some rule sets that are not available via sa-update.

Alan





Re: rules_du_jour not working confusion?

2006-12-06 Thread Daryl C. W. O'Shea

Alan Munday wrote:

Daryl C. W. O'Shea wrote the following on 06/12/2006 00:31:


Advantage over sa-update?  Other than the issue with 3.1.6 (only), 
there shouldn't be any issues with how sa-update lints rules. 


This is not obvious as there is no mention of linting in the docs 
http://spamassassin.apache.org/full/3.1.x/doc/sa-update.html


This isn't aimed at you in particular, but why does it seem that a 
really large number of people assume that sa-update isn't going to work 
correctly, or well, by default?  Is it their past experience with the 
quality of SpamAssassin or other open source software?



If so is there a migration guide somewhere on moving from RDJ to 
sa-update?


- remove existing SARE rules from wherever you've got them
- decide on which provider of the SARE channel(s) you're going to use
- follow that providers directions


And while there is good information on using sa-update for SARE rules, 
there don't appear to be any references on how-to migrate to it from RDJ.


Is a migration document really necessary?  Stop using the rule files you 
got via RDJ that you now want to get with sa-update.  Start using 
sa-update for those rule files.  Have some lunch.



The only other thing (AFAIK) that would hold someone from moving is that 
RDJ still covers some rule sets that are not available via sa-update.


[EMAIL PROTECTED] dos]$ grep  CF_URLS\[ rules_du_jour | grep -v RULESEMPORIUM

CF_URLS[7]=http://mywebpages.comcast.net/mkettler/sa/antidrug.cf;

CF_URLS[9]=http://www.sa-blacklist.stearns.org/sa-blacklist/sa-blacklist.current;;

CF_URLS[10]=http://www.sa-blacklist.stearns.org/sa-blacklist/sa-blacklist.current.uri.cf;;

CF_URLS[11]=http://www.sa-blacklist.stearns.org/sa-blacklist/random.current.cf;;
  CF_URLS[69]=http://sa.zmi.at/rulesets/70_zmi_german.cf;;


antidrug.cf isn't being updated ever again and it's not for use with SA 
3.x or later (which excludes it's usefulness with sa-update).


I haven't talked to Bill Stearns about him publishing channels for his 
rulesets or having me provide channels for him.  Unlike the next ruleset 
though, no one has asked me to do so.


There is a channel setup for Michael Monnerie's 70_zmi_german.cf 
ruleset.  He just wants to play around with it first to see how it all 
works before making it public.



Daryl


RE: rules_du_jour not working confusion?

2006-12-05 Thread Bowie Bailey
Bazooka Joe wrote:
 rules_du_jour seems to fail on lint. I am trying to figure that out
 now but I have a different question.  Has channels replaced
 rules_du_jour? Should I be using something else to update my sare
 rules?
 
 thx
 
 -bazooka
 
 ps I am using SpamAssassin 3.1.4
 
 pps below are the lint errors if anyone has come across it before I
 delve into it.
 
 Lint output: [29533] warn: config: failed to parse line, skipping:
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;
 [29533] warn: config: failed to parse line, skipping: html
 [29533] warn: config: failed to parse line, skipping: headmeta
 name=GENERATOR content=Microsoft Visual Studio .NET 8.0 /meta
 name=CODE_LANGUAGE content=C
 [29533] warn: config: failed to parse line, skipping: meta
 name=keywords
 content=emporium,rule,school,supply,bulletin,board,back,to,list,3
 [29533] warn: config: failed to parse line, skipping: meta
 name=description content=child art teacher supply classroom store
 discount boat part propeller

I ran into this problem a while back when the RDJ update site had some
problems.  What happens is that a placeholder or 404 page gets downloaded to
the rule file.

To fix it, just empty the RDJ working directory and force it to download
all of the rules again.  On my machine, the directory is
/etc/mail/spamassassin/RulesDuJour.

So just do this:

rm /etc/mail/spamassassin/RulesDuJour/*
(assuming your directory is located in the same place as mine)

And then run rules_du_jour again and it should work fine.

-- 
Bowie


Re: rules_du_jour not working confusion?

2006-12-05 Thread Bazooka Joe

Thx Bowie

That fixed rdj.

But what about channels? Is that to replace rdj?

-bazooka

On 12/5/06, Bowie Bailey [EMAIL PROTECTED] wrote:

Bazooka Joe wrote:
 rules_du_jour seems to fail on lint. I am trying to figure that out
 now but I have a different question.  Has channels replaced
 rules_du_jour? Should I be using something else to update my sare
 rules?

 thx

 -bazooka

 ps I am using SpamAssassin 3.1.4

 pps below are the lint errors if anyone has come across it before I
 delve into it.

 Lint output: [29533] warn: config: failed to parse line, skipping:
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;
 [29533] warn: config: failed to parse line, skipping: html
 [29533] warn: config: failed to parse line, skipping: headmeta
 name=GENERATOR content=Microsoft Visual Studio .NET 8.0 /meta
 name=CODE_LANGUAGE content=C
 [29533] warn: config: failed to parse line, skipping: meta
 name=keywords
 content=emporium,rule,school,supply,bulletin,board,back,to,list,3
 [29533] warn: config: failed to parse line, skipping: meta
 name=description content=child art teacher supply classroom store
 discount boat part propeller

I ran into this problem a while back when the RDJ update site had some
problems.  What happens is that a placeholder or 404 page gets downloaded to
the rule file.

To fix it, just empty the RDJ working directory and force it to download
all of the rules again.  On my machine, the directory is
/etc/mail/spamassassin/RulesDuJour.

So just do this:

rm /etc/mail/spamassassin/RulesDuJour/*
(assuming your directory is located in the same place as mine)

And then run rules_du_jour again and it should work fine.

--
Bowie



RE: rules_du_jour not working confusion?

2006-12-05 Thread Bowie Bailey
Bazooka Joe wrote:
 Thx Bowie
 
 That fixed rdj.
 
 But what about channels? Is that to replace rdj?

Yes, you can replace RDJ with the sa-update channels.  I am still using RDJ
for rule updates, so I can't help you with the channel configuration.

-- 
Bowie


Re: rules_du_jour not working confusion?

2006-12-05 Thread René Berber
Bowie Bailey wrote:

 Bazooka Joe wrote:
 Thx Bowie

 That fixed rdj.

 But what about channels? Is that to replace rdj?
 
 Yes, you can replace RDJ with the sa-update channels.  I am still using RDJ
 for rule updates, so I can't help you with the channel configuration.

Are you sure?

I'm using both and I don't see any duplication of score hits.  For instance,
what is the SA equivalent to 70_sare_stocks.cf?
-- 
René Berber



RE: rules_du_jour not working confusion?

2006-12-05 Thread Bowie Bailey
René Berber wrote:
 Bowie Bailey wrote:
 
  Bazooka Joe wrote:
   Thx Bowie
   
   That fixed rdj.
   
   But what about channels? Is that to replace rdj?
  
  Yes, you can replace RDJ with the sa-update channels.  I am still
  using RDJ for rule updates, so I can't help you with the channel
  configuration. 
 
 Are you sure?
 
 I'm using both and I don't see any duplication of score hits.  For
 instance, what is the SA equivalent to 70_sare_stocks.cf?

By default, there is no duplication.  sa-update will update only the stock
rules.  However, there have been additional channels created for sa-update
to allow it to update the SARE rules as well.  You just add the ones you
want to your sa-update channels file.

See the wiki:
http://wiki.apache.org/spamassassin/SareChannels

-- 
Bowie


Re: rules_du_jour not working confusion?

2006-12-05 Thread René Berber
Bowie Bailey wrote:
 René Berber wrote:
[snip]
 Are you sure?

 I'm using both and I don't see any duplication of score hits.  For
 instance, what is the SA equivalent to 70_sare_stocks.cf?
 
 By default, there is no duplication.  sa-update will update only the stock
 rules.  However, there have been additional channels created for sa-update
 to allow it to update the SARE rules as well.  You just add the ones you
 want to your sa-update channels file.
 
 See the wiki:
 http://wiki.apache.org/spamassassin/SareChannels

Thanks for the clarification.
-- 
René Berber



Re: rules_du_jour not working confusion?

2006-12-05 Thread Alan Munday

By default, there is no duplication.  sa-update will update only the stock
rules.  However, there have been additional channels created for sa-update
to allow it to update the SARE rules as well.  You just add the ones you
want to your sa-update channels file.


One advantage RDJ seems to have is that it won't leave you in the situation of 
a non functional SA because your updated rules don't lint.

If using sa-update for SARE rules, are these stored in the same location as the 
originals or are they downloaded to the /var/lib/spamassassin tree?

If so is there a migration guide somewhere on moving from RDJ to sa-update?

Alan



Re: rules_du_jour not working confusion?

2006-12-05 Thread Daryl C. W. O'Shea

Alan Munday wrote:
By default, there is no duplication.  sa-update will update only the 
stock
rules.  However, there have been additional channels created for 
sa-update

to allow it to update the SARE rules as well.  You just add the ones you
want to your sa-update channels file.


One advantage RDJ seems to have is that it won't leave you in the 
situation of a non functional SA because your updated rules don't lint.


Advantage over sa-update?  Other than the issue with 3.1.6 (only), there 
shouldn't be any issues with how sa-update lints rules.  I think the 
only way you'll end up without a working ruleset is if problems with the 
file system containing your local state directory start occurring half 
way through the update process.  At that point, a working SA ruleset 
probably won't be your main concern.



If using sa-update for SARE rules, are these stored in the same location 
as the originals or are they downloaded to the /var/lib/spamassassin tree?


What originals?  SARE rules you saved somewhere (probably 
/etc/mail/spamassassin)?  If yes, you'll want to remove those before 
switching to getting SARE rules via sa-update.


All rules obtained via sa-update will be stored under your local state 
directory which is often /var/lib/spamassassin.




If so is there a migration guide somewhere on moving from RDJ to sa-update?


- remove existing SARE rules from wherever you've got them
- decide on which provider of the SARE channel(s) you're going to use
- follow that providers directions

See this wiki page for about the same info:
http://wiki.apache.org/spamassassin/SareChannels

Here's my how to on it:
http://daryl.dostech.ca/sa-update/sare/sare-sa-update-howto.txt


Daryl


Re: rules_du_jour not working confusion?

2006-12-04 Thread Steven Stern
Bazooka Joe wrote:
 rules_du_jour seems to fail on lint. I am trying to figure that out
 now but I have a different question.  Has channels replaced
 rules_du_jour? Should I be using something else to update my sare
 rules?
 
 thx
 
 -bazooka
 
 ps I am using SpamAssassin 3.1.4
 
 pps below are the lint errors if anyone has come across it before I
 delve into it.
 
 

[snip]

Do your current rules pass a lint test?


-- 

  Steve