Re: Patch for rules_du_jour

2007-06-29 Thread jdow
From: Phil Barnett [EMAIL PROTECTED] On Thursday 28 June 2007 15:22, Lindsay Haisley wrote: Attached is a proposed patch for /var/lib/spamassassin/rules_du_jour which addresses the problem of the refresh URL which Rules Emporium sometimes sends out instead of a valid cf file. Basically, this

Re: Patch for rules_du_jour

2007-06-29 Thread Nigel Frankcom
On Fri, 29 Jun 2007 10:13:24 -0500, Lindsay Haisley [EMAIL PROTECTED] wrote: On Fri, 2007-06-29 at 06:46 -0700, jdow wrote: You will have to wait for up to a day for the Prolexic block to go away. I got blocked for checking out their anti-DDoS measures. The block went away in about 15

Re: Patch for rules_du_jour

2007-06-29 Thread Lindsay Haisley
On Fri, 2007-06-29 at 06:46 -0700, jdow wrote: You will have to wait for up to a day for the Prolexic block to go away. I got blocked for checking out their anti-DDoS measures. The block went away in about 15 minutes. -- Lindsay Haisley |Fighting against human | PGP public key FMP

Patch for rules_du_jour

2007-06-28 Thread Lindsay Haisley
Attached is a proposed patch for /var/lib/spamassassin/rules_du_jour which addresses the problem of the refresh URL which Rules Emporium sometimes sends out instead of a valid cf file. Basically, this patch greps the downloaded file for the string META HTTP-EQUIV, which should never occur in a

Re: Patch for rules_du_jour

2007-06-28 Thread Theo Van Dinter
On Thu, Jun 28, 2007 at 02:22:32PM -0500, Lindsay Haisley wrote: Attached is a proposed patch for /var/lib/spamassassin/rules_du_jour which addresses the problem of the refresh URL which Rules Emporium sometimes sends out instead of a valid cf file. Why not just use sa-update and not deal with

Re: Patch for rules_du_jour

2007-06-28 Thread Lindsay Haisley
On Thu, 2007-06-28 at 15:39 -0400, Theo Van Dinter wrote: Why not just use sa-update and not deal with this? sa-update and rules_du_jour deal with different rules repositories. I use both. -- Lindsay Haisley | In an open world,| PGP public key FMP Computer Services |who

Re: Patch for rules_du_jour

2007-06-28 Thread Jari Fredriksson
Lindsay Haisley wrote: On Thu, 2007-06-28 at 15:39 -0400, Theo Van Dinter wrote: Why not just use sa-update and not deal with this? sa-update and rules_du_jour deal with different rules repositories. I use both. sa-update can use both, if I'm not mistaken. I distantly remember configuring

Re: Patch for rules_du_jour

2007-06-28 Thread Phil Barnett
On Thursday 28 June 2007 15:22, Lindsay Haisley wrote: Attached is a proposed patch for /var/lib/spamassassin/rules_du_jour which addresses the problem of the refresh URL which Rules Emporium sometimes sends out instead of a valid cf file. Basically, this patch greps the downloaded file for

Re: Patch for rules_du_jour

2007-06-28 Thread Lindsay Haisley
On Thu, 2007-06-28 at 23:18 +0300, Jari Fredriksson wrote: sa-update and rules_du_jour deal with different rules repositories. I use both. sa-update can use both, if I'm not mistaken. I distantly remember configuring it to do so. http://saupdates.openprotect.com/ has instructions for

Re: Patch for rules_du_jour

2007-06-28 Thread Lindsay Haisley
On Thu, 2007-06-28 at 15:46 -0400, Phil Barnett wrote: I'm going to try this, but with a 5 minute wait. I run it in the middle of the night anyway, who cares how long it takes. Actually, the proper response might be a random wait. The HTML that gets sent by SARE is: HTMLHEADMETA

Re: Patch for rules_du_jour

2007-06-28 Thread Larry Starr
I have a question regarding this. I have set up the sa_update channel for the SARE rules and run it. Everything worked OK BUT, I notice that sa_update is installing the rules in /var/lib/spamassassin/3.001007, while rulesdujour was instaling them in /etc/mail/spamassassin. Do I need to remove

Re: Patch for rules_du_jour

2007-06-28 Thread Theo Van Dinter
On Thu, Jun 28, 2007 at 04:33:43PM -0500, Larry Starr wrote: Do I need to remove the rules, in /etc/mail/spamassassin, to prevent the older rules from overriding any updates that may come in? Yes. -- Randomly Selected Tagline: I lost my foo. - Theo pgpgySBNRd9Tg.pgp

Re: Patch for rules_du_jour

2007-06-28 Thread Larry Starr
On Thursday 28 June 2007 16:39, Theo Van Dinter wrote: On Thu, Jun 28, 2007 at 04:33:43PM -0500, Larry Starr wrote: Do I need to remove the rules, in /etc/mail/spamassassin, to prevent the older rules from overriding any updates that may come in? Yes. I suspected as much. Thank you, --

Re: Patch for rules_du_jour

2007-06-28 Thread Phil Barnett
On Thursday 28 June 2007 17:02, Lindsay Haisley wrote: I don't know what would be gained by a random wait.   The idea of a random wait for contention resolution is long standing. It's built into the TCP/IP protocol for example. For example, say my cron job runs at 3 am. Lot's of them probably

New patch for rules_du_jour re HTML redirect pages

2007-06-18 Thread Lindsay Haisley
It seems as if the problem HTML redirect page is hiding somewhere when rules_du_jour gets to its SA lint check, and it doesn't show up until the rollback is done, so the patch I sent earlier isn't effective. I'll need to read the code more thoroughly and don't have time now, so here's a

Re: New patch for rules_du_jour re HTML redirect pages

2007-06-18 Thread Ed Kasky
At 10:52 AM Monday, 6/18/2007, Lindsay Haisley wrote -= --lint has failed so it'll run properly next time. cut here --- /root/rules_du_jour.orig2007-06-17 21:01:24.0 -0500 +++ /var/lib/spamassassin/rules_du_jour 2007-06-18